Menus system: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 132: Line 132:
= To force usage of your menu manager =
= To force usage of your menu manager =
You can force usage of your own menu manager by creating a module.
You can force usage of your own menu manager by creating a module.
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 [[Development module]]).
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','cabinetmed_backoffice.php','Force menu handler to this value',1,'current',1),
* 1=>array('MAIN_MENU_STANDARD_FORCED','chaine','cabinetmed_backoffice.php','Force menu handler to this value',1,'current',1),

Navigation menu