Widget system: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
(Created page with '{{TemplateDocDevEn}} {{ToTranslate}} Chaque boite est stockée dans le répertoire htdocs/include/boxes Il faut un fichier par boite. Chaque fichier est une classe qui hérite d...')
 
mNo edit summary
Line 1: Line 1:
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}
{{ToTranslate}}


Chaque boite est stockée dans le répertoire htdocs/include/boxes
Every box is stocked inside the directory '''htdocs/include/boxes'''.
Il faut un fichier par boite.
There is one file for each box.
Chaque fichier est une classe qui hérite de la classe ModeleBoxes.
 
Each file is a PHP class that herits the class '''ModeleBoxes'''.
 
 
 
= [[File:art.png]] Create a new box =
To create a new box, copy an existing box file and rename it.
Then change its content to match the new name and to define informations you want to show by the box.

Revision as of 09:01, 12 June 2009

Every box is stocked inside the directory htdocs/include/boxes. There is one file for each box.

Each file is a PHP class that herits the class ModeleBoxes.


Art.png Create a new box

To create a new box, copy an existing box file and rename it. Then change its content to match the new name and to define informations you want to show by the box.