drupal7 page template for profile2 module
I want to present User fields from the profile2 module in drupal 7 in a custom template file.
I can edit profile2--bewerbungsprofil.tpl.php (where bewerbungsprofil is the name of the profile2 type) - but i wa开发者_C百科nt to edit the page.tpl.php-type output, so I have control over head and footer of the resulting html file.
Is there a special naming convention, like page--profile2--bewerbungsprofile.tpl.php, or is there some other way?
Try: page--profile-bewerbungsprofil.tpl.php
Here is a link to explain how template overrides are named
[[http://drupal.org/node/1089656]]
I think what you'd want to do is copy any tpl.php files into your local theme (sites/all/themes/yourtheme).
精彩评论