Joomla Programmer: Joomla 1.5 Sobi2 Clone for Windows

March 8, 2009

Joomla Programmer: Clone Sobi Using Windows

Sobi2 business index is a powerful database program for Joomla programmers and hobbyists. Recently I used Sobi2 to create a Pet Lost and Found database.  This worked well but got confusing when I wanted to add an Adoptable Pets database. The tool provides one form with customizable fields, but some fields are not the same across Lost Pets and Adoptable Pets. I needed two forms. The only way to get that is to clone Sobi2.

Sigsiu wrote a Sobi2 cloning tool for Unix. Short of downloading cygwin, this tool doesn’t help Windows people.

Following, then, are instructions for how to clone the Sobi2 component for multiple installations using a Windows machine. The original forum post on Windows Cloning is here.

Unzip the com_sobi2 installation into a fresh directory com_sobi2. Copy that to the target directory, com_sobi2lost.

copy the sobi directory to a new target name

Using a bulk file renamer like File and MP3 renamer, rename all files in com_sobi2lost so that any instance of “sobi” is replaced with “sobilost.” You are editing file names in this step, not the contents of the files.

rename

Using a grep search and replace tool like Actual Search & Replace:

Find all instances of “sobi” lowercase in com_sobi2lost contents. Change those instances to “sobilost”

grep_options

Find all instances of “SOBI” uppercase in com_sobi2lost contents. Change those instances to “SOBILOST”

grep lowercase

grep uppercase

Edit the installation xml file sobilost2.xml

edit xml

Find the administration/menu node.

find description

Change the node’s value to a unique value such as Lost Animals

edit description

ZIP the com_sobi2lost directory to com_sobi2lost.zip

zip

Install the com_sobi2lost.zip

install clone

The new description shows up as your menu item under components.

installed

{ 1 trackback }

joomla 1.5 - StartTags.com
February 6, 2010 at 12:35 am

{ 0 comments… add one now }

Previous post:

Next post: