Module clone guide
Author profile: Carnuke
Carnuke is the XOOPS Documentation Team Leader, from UK.
The "Article" module framework makes it pretty simple for cloning a module.
To make a clone
Step #1: file "include/vars.php", set the value for $GLOBALS["ART_VAR_PREFIX"], for say, "myart"
Step #2: file "include/vars.php", set the value for $GLOBALS["ART_DB_PREFIX"], for say, "artdb"
Step #3: change all file names under /templates/ and /templates/blocks/ starting with "art" to the specified value "myart". For example, change art_index.html to myart_index.html, change art.css to myart.css
Step #4: edit /sql/mysql.sql, change all prefix value to the specified value "artdb". For example, change "CREATE TABLE `art_article`" to "CREATE TABLE `artdb_article`"
Step #5: install the cloned module as regular
To make a clone
Step #1: file "include/vars.php", set the value for $GLOBALS["ART_VAR_PREFIX"], for say, "myart"
Step #2: file "include/vars.php", set the value for $GLOBALS["ART_DB_PREFIX"], for say, "artdb"
Step #3: change all file names under /templates/ and /templates/blocks/ starting with "art" to the specified value "myart". For example, change art_index.html to myart_index.html, change art.css to myart.css
Step #4: edit /sql/mysql.sql, change all prefix value to the specified value "artdb". For example, change "CREATE TABLE `art_article`" to "CREATE TABLE `artdb_article`"
Step #5: install the cloned module as regular


