Whenever I try, print drupal_render($form[]) on the user registration form, I get unsupported operand type errors. Is it possible to theme these fields?

I tried doing this both with a user-register.tpl.php and in a module with a hook_theme_alter, and in both cases I just get the error.

Any help is greatly appreciated.

Comments

daneyuleb’s picture

Wondering about this too. I'm not getting a $form to work with--I believe it's because content profile is rendering it first.

Can someone briefly outline the steps/templates to use when theming the registration form when content profile is being used? I need a drupal_render($form[]) control so I can handle each segment individually.

croX-1’s picture

Would like to know that too. I'm trying to get the "Register" button to the end of the page, because it doesn't really looks good when the button appears in the middle of the form between "normal" users fields an the ones provided by content_profile.

macrodesign’s picture

subscribing to #2

macrodesign’s picture

tried field group it works, please try