Module development: Difference between revisions

Jump to navigation Jump to search
m (New boxes path)
Line 33: Line 33:
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning).  
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning).  
Your file descriptor for your module is ready.
Your file descriptor for your module is ready.
* '''conf/conf.php''' file must be modified as follows :
remove comments before the definition of variables '''$ dolibarr_main_url_root_alt''' and '''$ dolibarr_main_document_root_alt''' then adjust the values ​​to your configuration.
''Example :''
<source lang="php">
$dolibarr_main_url_root_alt='http://localhost/dolibarr/custom';
$dolibarr_main_document_root_alt='/var/www/dolibarr/htdocs/custom';
</source>


=== Test your descriptor ===
=== Test your descriptor ===

Navigation menu