How do you create submenu blocks?
smithaa02 - March 25, 2008 - 16:51
What I have is a main menu in my sidebar like:
Accommodations
Dining
About Us
...etc....
What I would like would be to do is to create a submenu for each primary link, so if say someone goes to Accommodations a child menu appears above the parent menu like:
Hotels
Motels
Resorts
Cabins
...etc...
My understanding was that before drupal6, I could just put the Hotel Page under the Accommodation page from the menu selection and as long as I added a secondary link block, this would work great. Now secondary links seem to be unrelated to primary links, so this won't work (as near as I can tell).
Does anybody know if there is a way to implement what I am looking for?

re
Any ideas?
So in D6 theyve made some
So in D6 theyve made some changes to the menu section. When you go there you get a list of your menu groups. Within each is a drag-drop list of your actual menus within each group. To move a menu, click on Edit. Here you can change the menu group that this menu is associated with by changing its Parent Item. So in your cause you'd have the menu group Primary Links and within this group you would have the parent menu Accommodations and as a child of this you would have the Hotels, Motels, Resorts, Cabins, ...etc... menus. In D6, with its drag-drop listing setup, child menus are represented as being indented under its parent menu.
Primary Links:
+Parent menu
___+Child menu
___+Child menu
+Accommodations
___+Hotels
___+Motels
___+Resorts
___+Cabins
___+...etc...
+Dining
___+Child link
+About Us
+...etc....
And there are any number of ways to add menu items, You can add them from the menu section, from a form (if you have admin permissions), or from the Views Module (http://drupal.org/project/views).
Another Module that would help you is the DHTML menus module (http://drupal.org/project/dhtml_menu), this allows you to have dynamic expanding and collapsing menus so that the whole page doesn't need to be refreshed when a user wants to expand a parent menu.