My menu tree doesnt appear like a tree
Hi there, I am currently developing my own theme. The theme was designed by some web designers, and I had to implement it in Drupal (7) this way, well that's what I found on the internet. The menu is rendered pretty good, like: |<?php $hoofdmenu = menu_navigation_links('menu-hoofdmenu'); echo theme('links', array("links" => $hoofdmenu, 'attributes' => array('id' => 'hoofdnav', 'class' => 'radius'))); ?>| But.. This only works for "top level" menu items. Some how the sub-menu-items, or children, aren't visible now. How can I display the second level menu items too? Is this possible in somewhat the same way? Thanks in advance! Niek.
You may want to install the menu block module. * Ryan LeTulle*
bayousoft <http://twitter.com/bayousoft> -twitter
On Sun, Apr 10, 2011 at 9:04 AM, Niek van der Steen <niek@signet.nl> wrote:
Hi there,
I am currently developing my own theme. The theme was designed by some web designers, and I had to implement it in Drupal (7) this way, well that's what I found on the internet.
The menu is rendered pretty good, like:
<?php $hoofdmenu = menu_navigation_links('menu-hoofdmenu'); echo theme('links', array("links" => $hoofdmenu, 'attributes' => array('id' => 'hoofdnav', 'class' => 'radius')));
?>
But.. This only works for "top level" menu items. Some how the sub-menu-items, or children, aren't visible now. How can I display the second level menu items too? Is this possible in somewhat the same way?
Thanks in advance! Niek.
-- [ Drupal support list | http://lists.drupal.org/ ]
participants (2)
-
Niek van der Steen -
Ryan LeTulle