Custom user fields no links in "My Account" edit

tbobker - March 13, 2009 - 16:41
Project:fblike
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:critical
Assigned:tbobker
Status:active
Description

The custom categories or fields for the profile do not have links to edit these fields in the edit your account section.?

#1

tbobker - March 15, 2009 - 21:54

In template.php

replace:

function _phptemplate_variables($hook, $vars) {
.....the code in function
}

with the below

function phptemplate_preprocess_page(&$vars) {
$vars['tabs2'] = menu_secondary_local_tasks();

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

this is for Drupal 6

#2

foxfabi - August 27, 2009 - 17:48

i can confirm:
add to template.php

/**
* 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.