Module development: Difference between revisions

m
no edit summary
mNo edit summary
Line 31: Line 31:


Launch Dolibarr and go to page '''Setup->module'''? You must see a new line with your new module and the possibility to activate it or not (browse all the tabs of each category of modules to find it). It's value of $this->special that determines in which tab will be your module.
Launch Dolibarr and go to page '''Setup->module'''? You must see a new line with your new module and the possibility to activate it or not (browse all the tabs of each category of modules to find it). It's value of $this->special that determines in which tab will be your module.
= [[File:Art.png]] Path of a new module (required) =
Create a directory 'mymodule' that will receive all files of your module. This directory must be inside the '''htdocs''' directory and will contains following subdirectories:
[[File:Path.jpg]]


= [[File:Art.png]] Create your SQL tables and the PHP accessor class (optional) =
= [[File:Art.png]] Create your SQL tables and the PHP accessor class (optional) =