Customised user page template name
I am using Drupal 7. I want to override t开发者_JAVA百科he page layout for all user profile pages, but I cannot figure out the specific name for page.tpl.php to override the default page.tpl.php. I tried page--profile.tpl.php, page--user, page-profile, page-user. Do I have to do something on the template.php file, to make it available like in Drupal 6?
page--user.tpl.php worked for me :)
精彩评论