title: Theme user registration page in Drupal 6 with an Omega subtheme
body: <p>I´ve found numerous tutorials on how to do this on D6, BUT, it seems that the example code I´ve found doesn´t quite work on Omega subtheme.</p>
  
  <p>Here´s the code I´ve found it suits me best (<a href="http://www.trellon.com/content/blog/theming-user-register-form-d6" rel="nofollow">via Trellon</a>):</p>
  
  <p>Inside template.tpl.php:</p>
  
  <pre><code>&lt;?php
  function themename_theme($existing, $type, $theme, $path) {
    return array(
      ...
      // tell Drupal what template to use for the user register form
      'user_register' =&gt; array(
        'arguments' =&gt; array('form' =&gt; NULL),
        'template' =&gt; 'user-register', // this is the name of the template
      ),
      ...
    );
  }
  ?&gt;
  </code></pre>
  
  <p>And here´s the user-register.tpl.php form:</p>
  
  <pre><code>&lt;div id="registration_form"&gt;
    &lt;div class="field"&gt;
      &lt;?php
        print drupal_render($form['account']['name']); // prints the username field
      ?&gt;
    &lt;/div&gt;
    &lt;div class="field"&gt;
      &lt;?php
        print drupal_render($form['account']['pass']); // print the password field
      ?&gt;
    &lt;/div&gt;
    &lt;div class="field"&gt;
      &lt;?php
          print drupal_render($form['submit']); // print the submit button
        ?&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The thing is that inside my template.tpl.php file I´ve already declared mytheme_theme, so I don´t know how to add the new code.</p>
  
  <p>Inside My omega subtheme folder:</p>
  
  <pre><code>/**
   * Implementation of HOOK_theme().
   */
  function lcph_theme(&amp;$existing, $type, $theme, $path) {
    $hooks = omega_theme($existing, $type, $theme, $path);
    // Add your theme hooks like this:
    /*
    $hooks['hook_name_here'] = array( // Details go here );
    */
    // @TODO: Needs detailed comments. Patches welcome!
    return $hooks;
  
  }
  </code></pre>
  
  <p>In fact, if I just copy/paste the code inside my template file, this is the error I´ve got:</p>
  
  <pre><code>Fatal error: Cannot redeclare lcph_theme() (previously declared in /sites/all/themes/lcph/template.php:22) in /sites/all/themes/lcph/template.php on line 125
  </code></pre>
  
  <p>How could I add the example code inside my omega subtheme template?
  Thanks for your guidance and help!</p>
  
  <p>Rosamunda</p>