31,040
edits
Tag: 2017 source edit |
mNo edit summary Tag: 2017 source edit |
||
| Line 30: | Line 30: | ||
* Create your box file into '''htdocs/mymodule/core/boxes/''' | * Create your box file into '''htdocs/mymodule/core/boxes/''' | ||
* Once your module descriptor is created, add these lines to declare your box file | * Once your module descriptor is created, add these lines to declare your box file | ||
< | <syntaxhighlight lang="PHP"> | ||
$this->boxes = array( | $this->boxes = array( | ||
0 => array( | 0 => array( | ||
| Line 39: | Line 39: | ||
// You can declare as much boxes as you want by simply incrementing the index. | // You can declare as much boxes as you want by simply incrementing the index. | ||
); | ); | ||
</ | </syntaxhighlight> | ||
* For distribution, package the module containing your box (See [[Module development]] page). | * For distribution, package the module containing your box (See [[Module development]] page). | ||