Module development: Difference between revisions

Jump to navigation Jump to search
Line 23: Line 23:
Then change the contents of this file to replace:
Then change the contents of this file to replace:


* 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' and contains only alpha 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 already used by existing modules).
* $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).  

Navigation menu