I have a row of Primary Links across the top of my page, that give a drop down list of sub menu items when you mouse over them.

Once one of these items is clicked, I'd like to show a left nav menu with the main menu item, and the sub menu items under it.

Example, someone mouses over "Forms" on the main menu and clicks "Form 12" underneath. They go to the Form 12 page which now shows a menu on the left that says "Forms" with all the sub menu items listed underneath.
Another example would be like the dropdown menu on Amazon.com which after you pick a submenu item, on the resulting page it shows the category and all the other menu choices.

Should I create a new block that only shows on "Forms" pages, and write something in PHP to show the menu items I want, or is there something built into Drupal that does what I'm after?

I think I'm having trouble describing my problem, which is making it hard for me to find something in the documentation or forums...

Any help would be appreciated. Thanks!

Comments

wingie’s picture

yes its kinda a round about procedure...

1. create a menu in menu/settings - this menu is the menu you want to show after you clicked on form 12.
2. go to block settings, put the created menu in the right region and edit the block config settings for that menu block.
3. in settings, set to show the menu block only on the form 12 page. if you use pathato, you can give urls like

form/12/*
form/12

which means it will show only on all form/12/[something here] pages.
of course this means, you have to use path alisaing and pathatuo to make sure all your content is url manages like that..

hope this helps ya...

mauszozo’s picture

Thanks for the reply wingie, I'll give it a try!