Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Templates profile2模块的drupal7页面模板_Templates_Profile_Drupal 7 - Fatal编程技术网

Templates profile2模块的drupal7页面模板

Templates profile2模块的drupal7页面模板,templates,profile,drupal-7,Templates,Profile,Drupal 7,我想在自定义模板文件中显示drupal 7中profile2模块的用户字段 我可以编辑profile2-bewerbungsprofil.tpl.php,其中bewerbungsprofil是profile2类型的名称-但我想编辑page.tpl.php-type输出,因此我可以控制生成的html文件的页眉和页脚 是否有特殊的命名约定,如page-profile2-bewerbungsprofile.tpl.php,或者有其他方式?试试:page-profile-bewerbungsprofil

我想在自定义模板文件中显示drupal 7中profile2模块的用户字段

我可以编辑profile2-bewerbungsprofil.tpl.php,其中bewerbungsprofil是profile2类型的名称-但我想编辑page.tpl.php-type输出,因此我可以控制生成的html文件的页眉和页脚


是否有特殊的命名约定,如page-profile2-bewerbungsprofile.tpl.php,或者有其他方式?

试试:page-profile-bewerbungsprofile.tpl.php

这里有一个链接来解释模板覆盖是如何命名的

[[http://drupal.org/node/1089656]]

我认为您需要做的是将任何tpl.php文件复制到本地主题站点/all/themes/yourtheme