We are in need of setting up subsections on our website that require a secondary menu to navigate within those given subsections(main site navigation will remain where it is throughout the entire site). Once the user is surfing another subsection the original sub navigation(to appear underneath the main navigation and not as child options within the main navigation) should disappear and the new subsection navigation should appear in its place.

On this website www.verticalresponse.com you see a vertical main navigation. When you click on ‘Product features’ you enter a page http://www.verticalresponse.com/products/ with side navigation that appears only within this page. Then when you enter the ‘resources’ page http://www.verticalresponse.com/resources/ the side navigation changes to accommodate for this new page. We need something similar except that side navigation will apply within a section and simply a single page. Please inform us if anyone can help with this matter. Thanks in advance for the help.

Comments

PAAHCweb’s picture

I didn't understand exactly how you want your overall navigation to look, but I can explain how to get the submenus to appear only on certain pages, as it does on the example site. This is a regular feature of Drupal. Your theme must include both left and right sidebars in the page.tpl.php file. Then you would take these steps:

  • Create a menu for each one of your sections at: admin/menu
  • Check "enable" and "left sidebar" for each new menu block, and save changes at: admin/block
  • Click "configure" for each new menu block
    • Check "Show on only the listed pages"
    • In the box under that line, list the page on which you want the menu to appear
    • Click "save block"

If you don't enable any other blocks for the left sidebar, it will only appear on the subsection page(s) where you've placed your custom menu blocks.

HTH,
D. Lynn