Hi there!!!

where could i found some info about how to make a section menu??? I am using miranelli theme.
I have the main menu which is in the header of the site, and for each section i would like to have another section menu in the rigth bar. only visible when you are in the specific section.
In other words, the firts buttom of the main menu is about us, which it has 4 sections, i would like to make a secondary menu in the rightbar for about us which 4 diferents buttoms, this secondar menu should only be visible on about us section.
Is it possible to make a menu and set in which pages must be displayed???
thanks thanks

Comments

kitsunechan’s picture

You can use the Local Menu module at http://drupal.org/project/local_menu to do this.

1.) In the menu settings of each node that you want in a "section", go to the menu settings and choose the parent item that you want that node to appear on. For example, the child node could be "Company Info" and the parent would be "About Us". Do this for all the nodes you want in a "section".

2.) Download, install, and activate the Local Menu module.

3.) In site building > blocks you will now have a local menu block that you can move to the right-hand block region.

4.) Go into the configuration settings for the local menu block. Chose starting depth: Level #2

And that should give you the results you want. When on the About Us node you should see links on the right sidebar to all of the child nodes for About Us. Navigate to a different node and these links shouldn't show up.

machi27’s picture

thanks a lot for your time
I have done what you said, and this exacly what I need.

But i cant make it work as i want,

The navigation childrens are duplicated in the rightbar, and i also have the child twice, once as a expanded item below the main menu and the other in the right bar which is where it should be.

What i have done wrong??? did i missed anything configurating the menus?? how do i make it to dont display twice the navigation menu and dont display the childs under the main menu???

Thanks thanks

kitsunechan’s picture

Oh sorry, I forgot they would show up under the primary links. Is the theme you are using one that came with your drupal installation, one you downloaded, or one you made yourself? I don't know the miranelli theme. If you go to the page.tpl.php file for that theme and add the lines

 if (isset($primary_links)) { 
print theme('links', $primary_links, array('class' => 'links', 'id' => 'navlist')) 
} 

where you want the primary links menu to be, the primary links won't show child elements.

Another way to get the results you want is to create another menu for each section at site building > menus. There would be a block for each one. In site building > blocks you can move them where you want them, go to configure, then specify which pages you want the block to show up on.