User-Profile-Form.tpl.php not working. Help! I am not rendering any results. This is my template.php:

function fueldeluxe_theme($existing, $type, $theme, $path) {
  $items = array();

  /**
   *  Account edit Forms
   */

  $items['user_profile_form'] = array(
    'render element' =&gt; 'form',
    'template' =&gt; 'user-profile-form',
    'path' =&gt; drupal_get_path('theme', 'fueldeluxe') . '/templates'
  );

  return $items; 
}

function fueldeluxe_preprocess_user_profile_form(&amp;$variables) {
  $variables['account'] = drupal_render($variables['form']['account']);
  $variables['picture'] = drupal_render($variables['form']['picture']);
}


This is my user-profile-form.tpl.php:

&lt;div id="account-settings"&gt;

  &lt;div id="profile"&gt;
    &lt;?php echo $picture; ?&gt;
  &lt;/div&gt;
  &lt;div id="account"&gt;
    &lt;?php echo $account; ?&gt;
  &lt;/div&gt;
&lt;/div&gt; 




As you can see I'm trying to load the user profile field forms. However I'm not able to render any results. The page loads okay when I add dummy text but no account field forms.

Do I need a module for this to work?

Also what would the variable look like for calling the custom field added to a user?
I'm struggling with what you're asking in the first portion of your question, but looking into the previous Stack Exchange page you referenced you can use the Panels module to quickly accomplish two column layouts for these forms.  You can also use template overrides to change the layout of the registration pages.

If you're specifically looking to quickly implement a tabbed UI for the user profile, I believe the Profile2 module may offer a built-in solution.


  "Also what would the variable look like for calling the custom field
  added to a user?"


You may need to use load_user() first to get a complete user object to access custom profile fields.

$account = user_load(&lt;USER-ID&gt;); //$node-&gt;uid or $user-&gt;uid