Widget system: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


= [[File:art.png]] Create a new box =
= [[File:art.png]] Create a new box =
Every box is stocked inside the directory '''htdocs/core/boxes'''.
Every standard box is stocked inside the directory '''htdocs/core/boxes'''.
There is one file for each box.
There is one file for each box.


Line 18: Line 18:
To create a new box, copy an existing box file and rename it.
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.
Then change its content to match the new name and to define informations you want to show by the box.
Howevern if you plan to distribute your box to other users, you should instead create a module and store your box files into directory '''htdocs/mymodule/core/boxes/'''


= [[File:art.png]] Activate a 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.
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.

Navigation menu