Display 2 different menu modules for specific categories?
Posted: 25 Mar 2009, 21:39
I have top menu with 2 links (Backdrops and Rental Art) that are both Phoca Gallery Category List Layout. Each displays specific categories to the link using the hidden categories feature.
I have a side menu for each of these links (Backdrops and Rental Art) displaying specific categories to each using the hidden categories feature. I did this by coping the Menu Module, so I have 2 modules menus, one for assigned to each link.
Site, clicked on Backdrops link in top menu:
http://www.oliphantstudio.com/main/inde ... s&Itemid=5
Each of the two top menu links (Backdrops and Rental Art) display the correct side menu module. This works great, except it does not apply to the category pages. All the category pages for each link default to the first menu module. I think, because it is not set up to recognize category id#?
I need to be able to assign the menu module for a link (Backdrops and Rental Art) and to ALL their categories, so it will display the correct menu. If I could have it somehow recognize the Itemid, then it could differentiate between which of the two menus to display.
For example &Itemid=31 is always Rental art, so if it could recognize specific Itemid# then it would work. (I think)
Backdrops page = &view=categories&Itemid=5
Rental Art page = &view=categories&Itemid=31
Rental art category pages e.g.
&view=category&id=51:realistic&Itemid=31
&view=category&id=47:abstract&Itemid=31
Maybe this could be added or I could hardcode it into the php for now. ? Or maybe there is a better idea on how this can work?
Things I tried:
If I change the menu item to phoca gallery category list layout, but it can only show 1 category (I need it to show multiple) and the side menu is still wrong, defaults to 1st menu.
I think this issue is very similar to Modules dissapears problem! thread, but enough different that I do not understand how to fix my issue.
viewtopic.php?f=9&t=3479&p=17093&hilit= ... ies#p17093
Any help is great!
You guys are great.
-Cathy
I have a side menu for each of these links (Backdrops and Rental Art) displaying specific categories to each using the hidden categories feature. I did this by coping the Menu Module, so I have 2 modules menus, one for assigned to each link.
Site, clicked on Backdrops link in top menu:
http://www.oliphantstudio.com/main/inde ... s&Itemid=5
Each of the two top menu links (Backdrops and Rental Art) display the correct side menu module. This works great, except it does not apply to the category pages. All the category pages for each link default to the first menu module. I think, because it is not set up to recognize category id#?
I need to be able to assign the menu module for a link (Backdrops and Rental Art) and to ALL their categories, so it will display the correct menu. If I could have it somehow recognize the Itemid, then it could differentiate between which of the two menus to display.
For example &Itemid=31 is always Rental art, so if it could recognize specific Itemid# then it would work. (I think)
Backdrops page = &view=categories&Itemid=5
Rental Art page = &view=categories&Itemid=31
Rental art category pages e.g.
&view=category&id=51:realistic&Itemid=31
&view=category&id=47:abstract&Itemid=31
Maybe this could be added or I could hardcode it into the php for now. ? Or maybe there is a better idea on how this can work?
Things I tried:
If I change the menu item to phoca gallery category list layout, but it can only show 1 category (I need it to show multiple) and the side menu is still wrong, defaults to 1st menu.
I think this issue is very similar to Modules dissapears problem! thread, but enough different that I do not understand how to fix my issue.
viewtopic.php?f=9&t=3479&p=17093&hilit= ... ies#p17093
Any help is great!
-Cathy