DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Remove Primary Links

03.17.2007
| 3691 views |
  • submit to reddit
        // remove primary links
// in the module - page.tpl.php 
// comment the three lines as shown...
<!-- Navigation Level 1 -->
<?php #if (isset($primary_links)) : ?>
<?php #print theme('links', $primary_links, array('class' => 'nav1')) ?>
<?php #endif; ?> 1