Skip to main content
4 of 4
edited tags
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

user-profile-edit.tpl.php not working for user#1

I am going crazy on this one :-/

I have overridden my user edit page with a user-profile-edit.tpl.php

In my template I have:

function mytheme_theme() {
  $items = array();
  $items['user_profile_form'] = array(
    'render element' => 'form',
    'path' => drupal_get_path('theme', 'mytheme') . '/template',
    'template' => 'user-profile-edit',
    'preprocess functions' => array(
      'mytheme_preprocess_user_profile_form'
    ),
  );
  return $items;
}

My problem is that my user-profile-edit.tpl.php is not being picked up by user#1, it is working however for all other authenticated users.

Is there some setting i am overlooking here?

Byron
  • 119
  • 1
  • 11