Box system

From Dolibarr Wiki

Return to developer
documentation index

A box is a file placed into a particular directory and that allows to add new informations in a rectangular area on some pages like the home page.

File:art.png Create a new box

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.

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.

File:art.png Activate a box

To activate a box, go on page Home - Setup - Boxes and click on activate on box you want to see. The page will appears on page for which you activate the box.

Personal tools
In other languages
FrenchSpanish