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 |
Jump to:
Description
The custom categories or fields for the profile do not have links to edit these fields in the edit your account section.?

#1
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
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);
}
}