【发布时间】:2011-04-06 10:33:41
【问题描述】:
我想在自定义模板文件中显示来自 drupal 7 中 profile2 模块的用户字段。
我可以编辑 profile2--bewerbungsprofil.tpl.php(其中 bewerbungsprofil 是 profile2 类型的名称) - 但我想编辑 page.tpl.php 类型的输出,所以我可以控制页眉和页脚生成的 html 文件。
有没有特殊的命名约定,比如page--profile2--bewerbungsprofile.tpl.php,还是有其他的方式?
【问题讨论】:
标签: templates profile drupal-7