Better position for modules

This commit is contained in:
Laurent Destailleur 2016-02-19 20:05:25 +01:00
parent da284cda8c
commit 82f57b2ccf
2 changed files with 6 additions and 3 deletions

View File

@ -44,13 +44,15 @@ class modExport extends DolibarrModules
$this->numero = 240; $this->numero = 240;
$this->family = "technic"; $this->family = "technic";
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module) $this->module_position = 520;
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
$this->name = preg_replace('/^mod/i','',get_class($this)); $this->name = preg_replace('/^mod/i','',get_class($this));
$this->description = "Outils d'exports de donnees Dolibarr (via un assistant)"; $this->description = "Outils d'exports de donnees Dolibarr (via un assistant)";
// Possible values for version are: 'experimental' or 'dolibarr' or version
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
$this->special = 0; $this->special = 0;
$this->picto='technic'; $this->picto = 'technic';
// Data directories to create when module is enabled // Data directories to create when module is enabled
$this->dirs = array("/export/temp"); $this->dirs = array("/export/temp");

View File

@ -44,7 +44,8 @@ class modImport extends DolibarrModules
$this->numero = 250; $this->numero = 250;
$this->family = "technic"; $this->family = "technic";
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module) $this->module_position = 510;
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
$this->name = preg_replace('/^mod/i','',get_class($this)); $this->name = preg_replace('/^mod/i','',get_class($this));
$this->description = "Outils d'imports de donnees Dolibarr (via un assistant)"; $this->description = "Outils d'imports de donnees Dolibarr (via un assistant)";
// Possible values for version are: 'experimental' or 'dolibarr' or version // Possible values for version are: 'experimental' or 'dolibarr' or version