Bureaucrats, emailconfirmed, Administrators
149
edits
Rdoursenaud (talk | contribs) m (New boxes path) |
|||
| Line 401: | Line 401: | ||
=== Define your box === | === Define your box === | ||
For this, modify the array $this->boxes into the module descriptor file. | For this, modify the array $this->boxes into the module descriptor file. | ||
All you have to do is to add one line for each box file you will create into directory '''htdocs/ | All you have to do is to add one line for each box file you will create into directory '''htdocs/core/boxes''' | ||
''Example:'' | ''Example:'' | ||
| Line 412: | Line 412: | ||
</source> | </source> | ||
Then create files mybox0.php, mybox1.php... by copying an example from an existing box file (into directory htdocs/ | Then create files mybox0.php, mybox1.php... by copying an example from an existing box file (into directory htdocs/core/boxes). | ||
=== Test if your box is detected by Dolibarr === | === Test if your box is detected by Dolibarr === | ||