Qual: Simplification descripteur de module.
Ajout exemple dans rep dev/skeletons
This commit is contained in:
parent
77d2ddd875
commit
0a220f7288
@ -65,8 +65,9 @@ class modMyModule extends DolibarrModules
|
|||||||
$this->const_name = 'MAIN_MODULE_MYMODULE';
|
$this->const_name = 'MAIN_MODULE_MYMODULE';
|
||||||
// Where to store the module in setup page (0=common,1=interface,2=other)
|
// Where to store the module in setup page (0=common,1=interface,2=other)
|
||||||
$this->special = 1;
|
$this->special = 1;
|
||||||
// Name of png file (without png) used for this module
|
// Name of png file (without png) used for this module.
|
||||||
$this->picto='calendar';
|
// Png file must be in theme/yourtheme/img directory under name object_pictovalue.png.
|
||||||
|
$this->picto='generic';
|
||||||
|
|
||||||
// Data directories to create when module is enabled
|
// Data directories to create when module is enabled
|
||||||
$this->dirs = array();
|
$this->dirs = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user