【发布时间】:2011-06-09 13:02:24
【问题描述】:
我创建了一个显示特定节点输出的视图。
我的视图名称是test_view。当我在 views-view-fields--test-view.tpl.php 文件中编辑时,它找不到 $fields。
再次编辑时views-view-fields--.tpl.php,views-view-fields--page.tpl.php,views-view-fields--page-1.tpl.php,views-view-fields--test-view.tpl.php,views-view-fields--test-view--page.tpl.php,views-view-fields--test-view--page-1.tpl.php
文件,那么它也找不到$fields 变量。
但是当我编辑views-view-fields.tpl.php 文件时,会找到$fields 变量。
我找不到的问题是什么?
需要任何建议...
【问题讨论】:
-
您是否重新扫描了视图中的模板文件?
-
是的,我总是重新扫描我的模板文件。但是找不到任何解决方案。现在我遇到了严重的问题......
标签: drupal drupal-6 drupal-views