[development] How can I customize user registration page?

Wim Mostrey drupal at mostrey.be
Mon Apr 23 10:17:59 UTC 2007


Well you're calling theme_$formid so that can be theme_story_node_form() 
for the "add story" form as well. I'm not sure this feature is documented.

The basic functionality is this:
http://drupal.pastebin.us/27764

You can put the code of my previous mail where the comment is placed.

Wim

Huisi Wang wrote:
> 2007/4/23, Wim Mostrey <drupal at mostrey.be>:
>> I believe the easiest way to do this is to theme the user registration
>> page in template.php with theme_user_register() and theme_user_edit().
>>
>> For instance like this:
>> http://drupal.pastebin.us/27745
>>
>> You can start your $weight however you like to define positioning.
>>
> Thanks for your answer.
> 
> Where can I find the documentation of theme_user_register() and
> theme_user_edit()? I can't find them from api.drupal.org. I can't find
> the documentation of phptemplate_user_profile() in api.drupal.org.
> 
> I will try out the PHP snippet. Thank you.
> 
> Huisi


More information about the development mailing list