What is the best way to change the user profile edit page? I need to add a new field alongside the password.

closed as primarily opinion-based by kiamlaluno Jun 8 '16 at 9:12

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.


You can add new fields to the users profile page at admin/config/people/accounts/fields

You can also manipulate the form by implementing hook_form_user_profile_form_alter(&$form, &$form_state, $form_id) and hook_form_user_register_form_alter(&$form, &$form_state, $form_id)

To add new profile pages you can use the Profile 2 module.

You can also edit the user edit template by implementing hook_theme().


In drupal 7 /admin/config/people/accounts/fields Here you can add and change certain fields for the user profile. You may want to check out the module profile2 as well: https://drupal.org/project/profile2

Not the answer you're looking for? Browse other questions tagged or ask your own question.