Currently the External Providers fieldset at user/register is right at the bottom of the page.

Would it be possible to have it at the top of the page to make it more obvious? Currently a user could fill out the whole registration form before noticing that they could have just signed in with OpenID - whereas having the fieldset at the top of the page makes this less likely.

Comments

nrambeck’s picture

Assigned: Unassigned » nrambeck
Status: Active » Closed (won't fix)

I'm going to leave the default form weights as they are and leave it up to site owners to move things around if they wish. It is possible to changed the weighting of form elements using hook_form_alter() or layout things differently on the theming level with CSS and template changes.

Anonymous’s picture

I moved the External Providers fieldset to the top of the user registration page by modifying template.php:

function yourtheme_theme() {
  return array(
    'user_register' => array(
      'arguments' => array('form' => NULL),
    )
  );
}

function yourtheme_user_register($form) {
	$form['rpx_providers']['#weight'] = -100;
	return drupal_render($form);
}