I LOVE this theme but is there any way to change/remove the tabs and/or tab titles? I'm looking but not finding. Any help would be appreciated!

Comments

Heine’s picture

Open page.tpl.php and look for:

<ul id="nav">
      <?php print theme('nav', '<a href="' . url(NULL, NULL, NULL, TRUE) . '">Home</a>', array(), 'first' . ($is_front ? ' active' : '')); ?>
      <?php if ($primary_links): ?>
      <?php print theme('nav', '<a href="#">Primary</a>', $primary_links); ?>
      <?php endif; ?>
      <?php if ($secondary_links): ?>
      <?php print theme('nav', '<a href="#">Secondary</a>', $secondary_links); ?>
      <?php endif; ?>
      <?php print theme('nav', '<a href="http://drupal.org/">Drupal</a>', array(), 'last'); ?>
    </ul>

Deleting Drupal, or modifying the title of primary / secondary links is easy. adding to it requires one to build an array with links (just use a print_r($primary_links) to check the required structure).

fowlkes’s picture

Thanks so much! That worked great!

nautis’s picture

Version: master » 4.6.x-1.x-dev

I have tried this solution 4.6, however the tabs do not highlight when browsing to the new page. How can I make this nav dynamic do that a tab that is clicked on inherits the "active" id?

philipk’s picture

Can anyone help me do this.........?

Just want to add a few more tabs.......!!!

rkerr’s picture

In 4.6, you can get one row of tabs for your primary links (without dropdowns) by using this code ...

<ul id="nav">
<?php
foreach ($primary_links) as $pl) {
  print theme('nav', $pl);
}
?>
</ul>
rkerr’s picture

Status: Active » Closed (duplicate)