Customize look and feel of registration page?

rry - January 11, 2009 - 07:53

Sorry; my original post had an error in the title.

One of the things I've always disliked about Drupal is the look of the registration page. It does its job, but it's not pretty to look at. So, for a production-level site, I've mocked up a different look and feel for the page.

The only problem is, I don't know how to actually build it. How would one go about customizing the registration page? Is there a styling module? Is the code built in? (I haven't seen it if it is.) I'd like to avoid mucking up with the page source, so if there's an easier way around I'd love to know what it is.

I unpublished the other post with the error

robertDouglass - January 11, 2009 - 08:39

- Robert Douglass

-----
my Drupal book Twitter

The registration "page" is a form

robertDouglass - January 11, 2009 - 08:43

<form action="/mixer/htdocs/user/register"  accept-charset="UTF-8" method="post" id="user-register">

The important part is the id, user-register.

Once you know that you can:

1. If you don't already have a custom module on your site, make one
2. Add a theme function for this form to your hook_theme in your custom module
3. Write the theme function. It would be function theme_user_register_form($form).

See http://drupal.org/node/165706 and http://drupal.org/node/112358

- Robert Douglass

-----
my Drupal book Twitter

Also see Fine-tuning the UI

WorldFallz - January 11, 2009 - 14:31

Also see Fine-tuning the UI by Theming Forms In Drupal 6.0 for a great screencast on theming forms.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

 
 

Drupal is a registered trademark of Dries Buytaert.