how to build secondary menu tree on 6.x dev?

kwurzel - September 23, 2007 - 07:47

Hello guys!

I'm building a new site using Drupal 6.x dev and I'm trying to build a tree from the secondary links. The structure of my links looks this way:

  • Home
  • Portrait
  • Portfolio
  • Contact
    • Imprint

And that's how I want my secondary link to look like (all the time, not just when viewing Contact node). Currently I'm using

<?php
if (isset($secondary_links)) :
?>

<?php
print theme('links', $secondary_links, array('class' => 'links secondary-links'))
?>

<?php
endif;
?>

to show the links, and Contact is set to expanded.
I tried several hints from the forums, but can't get it to work.

Any ideas?

Regards
Julius from Germany

 
 

Drupal is a registered trademark of Dries Buytaert.