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
Comment #1
daneyuleb commentedWondering 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.
Comment #2
croX-1 commentedWould 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.
Comment #3
macrodesign commentedsubscribing to #2
Comment #4
macrodesign commentedtried field group it works, please try