Widget system: Difference between revisions

no edit summary
No edit summary
Line 20: Line 20:


However if you plan to distribute your box to other users, you should instead create a module and store your box files into you module:
However if you plan to distribute your box to other users, you should instead create a module and store your box files into you module:
* Go into page [[Module Development]] to know how to create a module
* Go into page [[Module development]] to know how to create a module
* Copy the box file into '''htdocs/mymodule/core/boxes/'''
* Copy the box file into '''htdocs/mymodule/core/boxes/'''
* 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