tags:

views:

444

answers:

2

i'm looking for a way to display a menu block with a custom selected trail for each node-type. for example, i want all nodes of type 'story' to display the primary-link menu with the menu trail set to any specific menu item.

+1  A: 

Not sure I really understand what you're asking, by maybe the Menu Trails module could do what you want (quoting) :

The module provides a means of broadly categorizing nodes (by type or taxonomy) as falling "under" a known menu item.

These nodes are not added to the menu tree (keeping the menu admin system sane) but they will trigger the functionality above -- preserving navigation state for the user -- when viewed.

Pascal MARTIN
menu trails provided me a sample of menu setting in a module. i am now struggling my way ou of the code in order to make a site-specific module that will allow me to set my specific menu trails. thanks.
barraponto
A: 

i actually solved my problem with custom modules... however, i guess the right path would be the context module. since on given conditions, it can set the active menu item.

barraponto

related questions