Hi,

I am trying to theme the user registration page (username, email, submit...www.mysite/user/register) and was hoping to create a thread on themeing the user reg page w/out re-writing the user.module hook for displaying the form.

Any ideas?

Comments

keve’s picture

With 47 and with the new Form API you can make and change forms very flexibly.

Try to change user form with hook_form_alter!

sangamreddi’s picture

I have seen on somepost that with new form API we can theme forms.

Any examples whould be better.

Sunny
www.gleez.com

dblado’s picture

but w/out distinct div / id tags, it will be difficult to theme...

I'm looking to theme only the user reg page form at this point, so was thinking that what I should do is mod user.module to prefix form id elements w/ ur (user registration) so that in my style.css I can reference them w/out harming other form elements.

travischristopher’s picture

The concept is the same as theming the profile page, you provide an override stub for the theme function in your template.php and then call it in your page.tpl.php or wherever. You might have to look up the correct functions in drupaldocs or go through the module to find the correct functions to override...

http://drupal.org/node/11811