31,040
edits
| Line 24: | Line 24: | ||
* Once you module descriptor is created, edit it to add lines to declare your box | * Once you module descriptor is created, edit it to add lines to declare your box | ||
<source lang="bash"> | <source lang="bash"> | ||
$this->boxes[0][ | $this->boxes[0]['file'] = "box_file.php"; | ||
$this->boxes[0][ | $this->boxes[0]['note'] = "My notes"; | ||
$this->boxes[0][ | $this->boxes[0]['enabledbydefaulton'] = 1; | ||
</source> | </source> | ||
= [[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. | ||