Hi there,

I am having an issue with a theme i designed.
I have additional profile-categories defined with the core profile module. When I try to use this theme the secondary tabs that provide access to them under my account->edit are not shown. Only the standard account settings are shown.

When i activate the bluemarine theme the secondary tabs show up. I have looked that the page.tpl.php file and I have made sure that the statement <?php print $tabs ?> is there. But even then the tabs are not showing in my theme.

Has anyone faced this problem before?

Aurian

Comments

Aurian Noreinor’s picture

In my template.php file for my custom theme I replaced :

>
function phptemplate_menu_local_tasks() {
  return menu_primary_local_tasks();
}
<

with

>
function phptemplate_menu_local_tasks() {
  if ($primary = menu_primary_local_tasks()) {
    $output .= '<ul class="tabs primary clear-block">'. $primary .'</ul>';
  }
  if ($secondary = menu_secondary_local_tasks()) {
    $output .= '<ul class="tabs secondary">'. $secondary .'</ul>';
  }
  return $output;
}<
Jeff Burnz’s picture

gbaudoin’s picture

Works perfectly, thanks !