31,003
edits
| Line 35: | Line 35: | ||
* Change the number in: $this->numero = 100000 by a number that designates your module id. To avoid conflicts with other modules, you can consult the page that lists already reserved id numbers: [[List of modules id|List of modules id]]. | * Change the number in: $this->numero = 100000 by a number that designates your module id. To avoid conflicts with other modules, you can consult the page that lists already reserved id numbers: [[List of modules id|List of modules id]]. | ||
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning). | * Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning). | ||
Your file descriptor for your module is ready. | Your file descriptor for your module is ready. See next step to activate it. | ||
=== Test your descriptor === | === Test your descriptor === | ||
Launch Dolibarr and go to page '''Setup->module'''? | Launch Dolibarr and go to page '''Setup->module'''? | ||
If you set the property version in the module description you should see a new line with your new module and the possibility to activate it or not. If you set the property version to "develop" or "experiental", to see your module, you must first go into '''Setup-Others''' and set MAIN_FEATURES_LEVEL to 1 to see "experimental" modules or 2 to see "development" modules. | |||
== Tree of path for new module files (required) == | == Tree of path for new module files (required) == | ||