Skip to main content
Post Reopened by avpaderno
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
Post Closed as "Not suitable for this site" by Mołot, Krishna Mohan, AjitS, Bala, AKS
syntax
Source Link
Mołot
  • 21.9k
  • 8
  • 59
  • 112

I am going crazy on this one :-/

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

In my template iI 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; }

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?

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?

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?

added 34 characters in body
Source Link
Byron
  • 119
  • 1
  • 11

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;
   } 

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?

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?

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?

Source Link
Byron
  • 119
  • 1
  • 11
Loading