31,040
edits
No edit summary |
|||
| Line 134: | Line 134: | ||
For this , all you have to do is to declare the 4 following constants into the array $this->const of your module descriptor file (See page [[Module development]]). | For this , all you have to do is to declare the 4 following constants into the array $this->const of your module descriptor file (See page [[Module development]]). | ||
<source lang="php"> | <source lang="php"> | ||
* 1=>array('MAIN_MENU_STANDARD_FORCED','chaine',' | * 1=>array('MAIN_MENU_STANDARD_FORCED','chaine','mymodule.php','Force menu handler to this value',1,'current',1), | ||
* 2=>array('MAIN_MENUFRONT_STANDARD_FORCED','chaine',' | * 2=>array('MAIN_MENUFRONT_STANDARD_FORCED','chaine','mymodule.php','Force menu handler to this value',1,'current',1), | ||
* 3=>array('MAIN_MENU_SMARTPHONE_FORCED','chaine',' | * 3=>array('MAIN_MENU_SMARTPHONE_FORCED','chaine','mymodule.php','Force menu handler to this value',1,'current',1), | ||
* 4=>array('MAIN_MENUFRONT_SMARTPHONE_FORCED','chaine',' | * 4=>array('MAIN_MENUFRONT_SMARTPHONE_FORCED','chaine','mymodule.php','Force menu handler to this value',1,'current',1), | ||
</source> | </source> | ||
Your menu manager will be used once the module is activated. | Your menu manager will be used once the module is activated. | ||