By flowerpower84 on
I would like to change the login form introducing the name , the surname and the telephone number.
What is the module that I have to edit?
Can you help with the code?
Thanks.
I would like to change the login form introducing the name , the surname and the telephone number.
What is the module that I have to edit?
Can you help with the code?
Thanks.
Comments
hook_form_alter hook
You can create a custom module, and use the hook_form_alter hook (http://api.drupal.org/api/function/hook_form_alter/5) to add your own fields.
----------------------------------------
Boldizsár Bednárik ing.
http://www.bboldi.com
Profile.module
If you want to add these fields to the registration page (in addition to username/email) you can use the Profile module (http://drupal.org/handbook/modules/profile) which is included in Drupal core. You just need to enable it and set up the fields you want to add. When you create a field, you can indicate whether it should be displayed on the registration page, and whether it is a mandatory field.
Profile: the solution!
Finally works, really simple. Thank you very much!!! :)