Hacks: The cloning of a module
Posted by: JMorrisOn 2004/9/16 14:19:53 10342 readsThis article is duplicated/translated with permission from the author.
Translation performed using Translate v0.5.5 for Mozilla Firefox by Paul Grave.
Author: thecat (Claude)
Author's URL: http://thecat.ouvaton.org/
Original Article: The cloning of a module
Article:
This guide is written for the users who want to install the same module twice. It will be necessary cloner for them the original module in order to be able to install it in double.
1) Préliminaire
The cloning of a module is not an extremely complicated operation, but can appear tiresome.
The difficulty will be very variable from one module to another:
- certain modules will be more difficult with cloner, in particular if they do not respect conventions of writing, are not homogeneous in this writing, do not use the functions of xoops for the access to the bdd, etc. It is not certain that they are worth the blow to be clonés!
- other modules, coded well, will be rather easy with cloner.
Better is worth to have a good editor allowing to make the replacements on a whole repertory: the risk of error is more significant, but in the event of success, it is definitely faster. Make this replacement in step by step by activating the option of respect of breakage.
If you choose this solution, think on the contents and the order of your replacements, in order not to cumulate them (kind ' news' transformed into ' news0202 ' instead of ' news02 ').
This tuto explains you the procedure while being based on the module of news of xoops.
In theory all the modifications are described, by ommettant those which one pourait to believe necessary, and who are not it!
Maintaining with you to adapt it!
And wait to have finished to install and test your clone.