Best Modules for a Submenu?

bkildow - September 19, 2008 - 19:02

I'm trying to create a website with navigation along the top as the main nav pages, then when someone clicks on one, have the sub-navigation items listed along the side of the page. Does anyone have any ideas on workflow or modules to accomplish this?

search can be a beautiful

WorldFallz - September 19, 2008 - 19:46

search can be a beautiful thing: http://drupal.org/project/menu_block_split (1st page, 6th link).

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

If I understand what you

Bob Morse - September 20, 2008 - 00:06

If I understand what you want, you simply create a menu, assign the menu to a block assign the block to your left column. Then set the block to only appear on certain pages. If you use the path module to create aliases then you have each of your horizontal nav pages as sort of a psuedo directory, put all the pages in that section under that directory. For example, say your top nav has these pages as landing pages and have these paths:

about
services
help

Then you have the following sub page under about:
board
staff

Their paths would be about/board and about/staff

You create a menu, call it about. On that menu you put the board page and the staff page with those paths. Then you assign the about menu to a block that appears in the left column. Then on the block configuration page you tick the radio button "Show on only the listed pages."

Then in the field below enter:
about
about/*

Rinse and repeat for each of your top level nav sections.

Anyway, that's one way of doing it.

 
 

Drupal is a registered trademark of Dries Buytaert.