Maybe you are asking how to clone Smartsection Module?
You can do it easily.
1. First of all, unzip the file and and open thesmartsection folder (check for latest version at
http://www.smartfactory.ca)
2. In this folder you will find 2 folders: the "smartsetion folder" which you need to upload to your modules and the "extra" folder which you will need later on
3. install the smartsection module on your site just like you do it with any other module
4. Activate the module in your admin and check if it works
5. Once this is finished, look again in the main folder you've unzipped and open the "extra " folder
6. inside there are 2 folders again : "clone " and "seo"
7. open the clone folder and you will find the "clone.php file "
8. make a backup copy in this folder of the "clone.php file "
9. create the clone info ( your changes in the second part, where mysection could be myproduct or whatever): $patterns = array(
// first one must be module directory name
'smartsection' => 'mysection',
'SMARTSECTION' => 'MYSECTION',
'SmartSection' => 'MySection',
'Smart Section' => 'My Section',
'SSECTION' => 'MSECTION',
'Smartsection' => 'Mysection'
);
pick a different name everytime you clone the module. take note that the six variables above are variations of the same name, in this case, "mysection".
10. save the clone.php file and upload this file to the root of your XOOPS installation
11. now just call the page :
http://www.yoursite.com/clone.php ( could be
http://www.yoursite.com/xoops/clone.php or
http://www.yoursite.com/anyotherfolder/clone.php as well obviously depending on where your XOOPS is installed)
(*I wish to thank EdwinSpie who helped me with this).