maciejm
Karma: 0
|
Re:Maintain costum menu, while navigating thru com - 2010/02/11 16:15
I just installed the remository component and encounter the same problem. One of my menu which is displayed only on selected pages in the left block disappears after entering the remository. I understand the joomla limitations here. My solution to the problem is the following.
1. Under the Module Manager create a copy of the menu module that you want to display in the left block while navigating thru remository. So you got 2 modules based on the same menu, say normal_menu_module and remository_menu_module. 2. Change properties of the newly created remository_menu_module. Set Menu Assignment to all menus, thus you want it to display on all pages but set the Position to the newly created position, say left_remository (in templateDetails.xml) 3. Edit your template index.php to add conditionally inclusion of your new menu module:
| Code: |
<div>
<? if ($_GET["option"]=="com_remository") { ?>
<? } ?>
</div>
|
When entering com_remository your normal_menu_module in left position does not appear so you include your secondary remository_menu_module using left_remository position.
It works fine for me.
Regards, Maciej M.
Post edited by: maciejm, at: 2010/02/11 16:22
|