Skip to main content
added 332 characters in body
Source Link
Dhinesh.ES
  • 290
  • 2
  • 9

I have customized user profile edit page as page-user-edit.tpl.php in drupal 6 and created custom fields in user profiles like COMPANY SIZE with radio buttons, NO OF EMPLOYEES etc.

It is configured to display these field during registration based on role. It works well. My problem is these fields are not being displayed on user edit page (user/*/edit). Is there any way i can display the fields on user edit page to update values.

Here is my code on page-user-edit.tpl.php

<div id="container"> <div id="wrapper"> <div id="page_tp"> <?php if(arg(0) == 'user' && arg(3) == 'profile' && arg(1) != '0' && trim($user->roles[3]) == 'Corporate Profile' ){ ?> <?php print $help; ?> <?php print_r($content); ?> <?php } ?> </div> </div> </div> 

I have customized user profile edit page as page-user-edit.tpl.php in drupal 6 and created custom fields in user profiles like COMPANY SIZE with radio buttons, NO OF EMPLOYEES etc.

It is configured to display these field during registration based on role. It works well. My problem is these fields are not being displayed on user edit page (user/*/edit). Is there any way i can display the fields on user edit page to update values.

I have customized user profile edit page as page-user-edit.tpl.php in drupal 6 and created custom fields in user profiles like COMPANY SIZE with radio buttons, NO OF EMPLOYEES etc.

It is configured to display these field during registration based on role. It works well. My problem is these fields are not being displayed on user edit page (user/*/edit). Is there any way i can display the fields on user edit page to update values.

Here is my code on page-user-edit.tpl.php

<div id="container"> <div id="wrapper"> <div id="page_tp"> <?php if(arg(0) == 'user' && arg(3) == 'profile' && arg(1) != '0' && trim($user->roles[3]) == 'Corporate Profile' ){ ?> <?php print $help; ?> <?php print_r($content); ?> <?php } ?> </div> </div> </div> 
Source Link
Dhinesh.ES
  • 290
  • 2
  • 9

Some of the user profile fields on registration page not showing in user edit page

I have customized user profile edit page as page-user-edit.tpl.php in drupal 6 and created custom fields in user profiles like COMPANY SIZE with radio buttons, NO OF EMPLOYEES etc.

It is configured to display these field during registration based on role. It works well. My problem is these fields are not being displayed on user edit page (user/*/edit). Is there any way i can display the fields on user edit page to update values.