The user-profile.tpl.php file won´t be recognized in my Drupal 7 installation I´ve created a file user-profile.tpl.php in a Drupal 7 installation. I´ve updated the site from Drupal 6.
I have old core profile fields and I´ve installed the new profile2 module.

I´ve inserted that user-profile file into my theme folder and flushed cache.
I want the profile to show all the core profile fields and the new profile 2 fields.

The thing is that it won´t show any field at all. It just shows the user picture.

After a lot of trying and error, I´ve tried deleting all the content inside user-profile.tpl.php file, and adding into it just "hello world". It won´t be printed out. And the profile picture is still there.

So, how do I get the file to be recognized? Should I set something at my template.tpl.php file?

Thanks for your help!!

Rosamunda
You could try adding your content in the user profile template preprocess function instead.

e.g, in template.php:

/**
 * Implements hook_preprocess_user_profile
 */
function THEMENAME_preprocess_user_profile(&amp;$variables) {
  // Fetch relevant user account
  $account = $variables['elements']['#account'];
  // Add content to user profile render array
  $variables['user_profile'][] = array(
    '#type' =&gt; 'markup', 
    '#markup' =&gt; 'Hello world'
  );
}


After adding a new preprocess function, clear theme registry cache, e.g at Admin &gt; Performance &gt; Clear all caches