Rohit Pareek
Rohit Pareek

Reputation: 1563

custom page in Drupal

hi i have created a website in drupal.In this registration page can be access by following url http://mysite.com?q=user/register But i want to make a custom page for registration. Please give me some guide line , i don't have any idea for this

Upvotes: 0

Views: 124

Answers (3)

chx
chx

Reputation: 11760

a) hook_form_user_register_alter() documentation at http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_form_alter/6 b) if you totally cant do what you want with a happy little form altering then you can always hook_menu_alter() the page and use whatever page callback you desire instead of drupal_get_form.

Upvotes: 1

Loveleen Kaur
Loveleen Kaur

Reputation: 993

  1. Goto admin/build/modules

  2. Enable Profile module

  3. Add fields in profile and while adding a field make it 'visible during registration'

Upvotes: 0

Related Questions