RSSAmplifier

Nick Sergeant · May 23, 2008

Theming Drupal primary links with child sub-menus

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Using 'Primary links' for your Drupal site's main navigation menu is a great idea. However, most themes by default display primary links in such a way that if the menu has sub-child menus, they will not be displayed. Fortunately, the solution is much easier that you'd think. First off, the way that most themes generate primary links is like so: <? theme('links', $primary_links); As mentioned, this…

Read on nicksergeant.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.