Module development: Difference between revisions

Jump to navigation Jump to search
Line 25: Line 25:
* all "modMyModule" with a value which corresponds to the vocation of your module. This value must always start with 'mod'.
* all "modMyModule" with a value which corresponds to the vocation of your module. This value must always start with 'mod'.
WARNING: The MyModule must be set to a serie of alpha character, but '''the only character permit are [A-Za-z_] and the maximum length of the MyModule is 12 characters'''.
WARNING: The MyModule must be set to a serie of alpha character, but '''the only character permit are [A-Za-z_] and the maximum length of the MyModule is 12 characters'''.
* $this->numero = 10000 by a number of free module (Go to '''Home page -> System Information -> Dolibarr -> Modules''' to know id the list of modules used).
* $this->numero = 10000 by a number of free module (Go to '''Home page -> System Information -> Dolibarr -> Modules''' to know id already used by existing modules).
* 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).  
* Create directory /htdocs/mymodule/
* Create directory /htdocs/mymodule/

Navigation menu