In the user registration form, the registration guidelines should be on top of the form. But when I turn on Login Toboggan, they move below the account information category. I've tried to change weights in logintoboggan_form_alter, but didn't get anywhere.

Comments

hunmonk’s picture

Status: Active » Postponed (maintainer needs more info)

afaict, this was already fixed in this issue: http://drupal.org/node/145727

here's a diff of the change: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/logintobogg...

please check to make sure you're running at least version 5.x-1.0. if you are, please include step by step instructions on how to reproduce the problem. also, do you have any other contributed modules installed that are adding stuff to the registration form?

julia_g’s picture

I have this patch, but this is what finally worked for me:

if (isset($form['account'])) {
$form['account']['#weight'] = -40; // Make sure account form group is at the top of the display.
$form['account']['user_registration_help']['#weight'] = -50; //not sure what this one stands for
$form['user_registration_help']['#weight'] = -50;

hunmonk’s picture

again, this needs to be tested against the latest dev release for 5.x -- if somebody can reproduce the problem there, then i will look into it further.

hunmonk’s picture

Version: 5.x-1.0 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

fixed in 5.x and 6.x, and will be part of the next official release for both branches.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.