forked from Wavyzz/dolibarr
Png file was not in correct directory
This commit is contained in:
@@ -63,8 +63,9 @@ class modMyModule extends DolibarrModules
|
|||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
// Where to store the module in setup page (0=common,1=interface,2=others,3=very specific)
|
// Where to store the module in setup page (0=common,1=interface,2=others,3=very specific)
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
// Name of png file (without png) used for this module.
|
// Name of image file used for this module.
|
||||||
// Png file must be in theme/yourtheme/img directory under name object_pictovalue.png.
|
// If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue'
|
||||||
|
// If file is in module/images directory, use this->picto=DOL_URL_ROOT.'/module/images/file.png'
|
||||||
$this->picto='generic';
|
$this->picto='generic';
|
||||||
|
|
||||||
// Data directories to create when module is enabled.
|
// Data directories to create when module is enabled.
|
||||||
|
|||||||
@@ -63,9 +63,10 @@ class modPayBox extends DolibarrModules
|
|||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
// 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 image file used for this module.
|
||||||
// Png file must be in theme/yourtheme/img directory under name object_pictovalue.png.
|
// If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue'
|
||||||
$this->picto=DOL_URL_ROOT.'/theme/common/paybox.png';
|
// If file is in module/images directory, use this->picto=DOL_URL_ROOT.'/module/images/file.png'
|
||||||
|
$this->picto=DOL_URL_ROOT.'/paybox/images/paybox.png';
|
||||||
|
|
||||||
// Data directories to create when module is enabled.
|
// Data directories to create when module is enabled.
|
||||||
$this->dirs = array();
|
$this->dirs = array();
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user