2
0
forked from Wavyzz/dolibarr

New: add possibility to add or force default directories

This commit is contained in:
Regis Houssin
2012-09-05 17:34:56 +02:00
parent 2aafe5eef1
commit 3823e5d374
3 changed files with 30 additions and 12 deletions

View File

@@ -84,6 +84,7 @@ class modMyModule extends DolibarrModules
// 'css' => array('/mymodule/css/mymodule.css.php'), // Set this to relative path of css file if module has its own css file
// 'js' => array('/mymodule/js/mymodule.js'), // Set this to relative path of js file if module must load a js on all pages
// 'hooks' => array('hookcontext1','hookcontext2') // Set here all hooks context managed by module
// 'dir' => array('output' => 'othermodulename'), // To force the default directories names
// 'workflow' => array('WORKFLOW_MODULE1_YOURACTIONTYPE_MODULE2'=>array('enabled'=>'! empty($conf->module1->enabled) && ! empty($conf->module2->enabled)', 'picto'=>'yourpicto@mymodule')) // Set here all workflow context managed by module
// );
$this->module_parts = array();