Line 8: |
Line 8: |
| = [[File:Art.png]] Enabling/activation condition of external module on DoliStore = | | = [[File:Art.png]] Enabling/activation condition of external module on DoliStore = |
| Here are the rules that will be apply by Dolibarr team on validation/activation of external module on https://www.dolistore.com | | Here are the rules that will be apply by Dolibarr team on validation/activation of external module on https://www.dolistore.com |
| + | |
| + | === Name === |
| + | All modules that are dolibarr modules must be called module_mymodulename-VERSION.zip (where VERSION is version can be x or x.y or x.y.z) |
| + | If the module is for another software, the name of zip must be moduleothersoftware_mymodulename-VERSION.zip (for example moduleprestashop_mymodulename-1.0.zip) |
| + | |
| + | The rest of the document applies for Dolibarr modules only. |
| | | |
| === Structure === | | === Structure === |
Line 28: |
Line 34: |
| </source> | | </source> |
| | | |
− | === Link === | + | === Link to Dolibarr core object === |
− | All link to a page of a standard dolibarr object (an invoice, an order, a bank account, ...) should be included into your module page using the '''getNomUrl''' method of the class of the object. | + | All link to a page of a standard dolibarr object (an invoice, an order, a bank account, ...) should be included into the code using the '''getNomUrl''' method of the class of the object. |
| | | |
| === Custom directory management === | | === Custom directory management === |
− | An external module called '''mymodule''' can be installed into '''htdocs/custom/mymodule''' as well as in '''htdocs/mymodule'''. It must works in both cases | + | An external module called '''mymodule''' can be installed into '''htdocs/custom/mymodule''' (the default) as well as in '''htdocs/mymodule'''. It must works in both cases. |
| | | |
| === Core file modifications === | | === Core file modifications === |