secondary tabs (tab2) not setup in template.php

davidkyte - April 29, 2009 - 05:15
Project:K2
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Problem
Added user profile vars to user in std drupal 6 install.
Couldn't edit additional user variables. Worked in Garland
theme. Noticed this, added it to template php and now
works fine.

Dave

/**
* Override or insert PHPTemplate variables into the templates.
*/
function phptemplate_preprocess_page(&$vars) {
$vars['tabs2'] = menu_secondary_local_tasks();

// Hook into color.module
if (module_exists('color')) {
_color_page_alter($vars);
}
}

 
 

Drupal is a registered trademark of Dries Buytaert.