Hello, i understand that in the right and left side of the web we have blocks, and in the header we have primary links, but what are the secondary links?

thanks

oskar calvo.

Comments

momper’s picture

hello

you can choose here which menublock should be the secondary one:

Home › Administer › Site building

and:

if you want to seperate it from the primary menu -> in the most drupal themes you find something like this in the page.tpl (/themes/themename/page.tpl)

if ($secondary_links):

print theme('menu_links', $secondary_links);

endif;

you can place it where you want in the page.tpl

the same with the primary:

if ($primary_links):

print theme('menu_links', $primary_links);

endif;

i'm not the superdrupaluser :) - but i hope, this is a starting point
greetings momper

Jim@drupal.be’s picture

Two extra locations in the theme where you can place you menu. Usualy somewhere at the top.
If primary and secondary menu's are set to the same menu-tree.

The secondary menu display's the child menu items of the selected primary menu-item.

This off course only works for a two level hierarchy menu.

Hope this is clear otherwise I can look for a demo of sorts.

There are no stupid questions. Only stupid anwsers.