chirale

IT and beyond

Update: check Tertiary links / 2: tree workaround before this. That’s a wiser solution in many cases. Tested on: Drupal 5.x Zen subtheme If you use primary and secondary links in distinct blocks/area of a page, you can add the ability to browse the third navigation level. Just hack your page.tpl.php. <div id=”secondary”> <?php #display tertiary …

Continue reading

Tested on: Zen theme, Drupal 5.7 Copy function theme_links from includes/themes.inc Paste it into your template.php Rename it in theme_primarylinks (or anything you want) In your page.tpl.php, change print theme(‘links’, $primary_links); to print theme(‘primarylinks’, $primary_links); Apply some changes to theme_primarylinks to customize your primary links. According to theme manual, for any first argument passed to …

Continue reading