Override User Registration Page I want to override the user registration page, but my code is not working like it used to for Drupal 6.

function mytheme_theme(&amp;$existing, $type, $theme, $path) {
   $hooks['user_login_block'] = array(
     'template' =&gt; 'templates/user-login-block',
     'render element' =&gt; 'form',
   );
   $hooks['user_login'] = array(
     'template' =&gt; 'templates/user-login',
     'render element' =&gt; 'form',
   );
   $hooks['user_register'] = array(
     'template' =&gt; 'templates/user-register',
     'render element' =&gt; 'form',
   );

   return $hooks;
 }


Only the login block hook seems to work.

function mytheme_preprocess_user_login_block(&amp;$vars) {
  $vars['name'] = render($vars['form']['name']);
  $vars['pass'] = render($vars['form']['pass']);
  $vars['submit'] = render($vars['form']['actions']['submit']);
  $vars['rendered'] = drupal_render_children($vars['form']);
}

function mytheme_preprocess_user_register(&amp;$vars) {
  exit;
}


I need this to be a preprocess function so I can change/add variables to put into the template. The second function is never called.
I got it: The theme ID should be user_register_form, not user_register. Now it works.