无法找到查看行的模板 - Drupal

时间:2015-03-11 20:26:59

标签: templates drupal-7 rows drupal-views

我创建的视图显示内容类型"图库图像"。

我可以在node--gallery_images.tpl.php中设置此内容类型的样式,但此模板适用于图库中的图库图像和图库图像。我希望视图中的画廊风格化与个别画廊不同。

  • 显示输出 views-view.tpl.php ,views-view - gallery.tpl.php,views-view - default.tpl.php, views-view - default.tpl.php,views-view - page.tpl.php,views-view - gallery - page.tpl.php
  • 样式输出 views-view-unformatted.tpl.php ,views-view-unformatted - gallery.tpl.php,views-view-unformatted-- default.tpl.php,views-view-unformatted - default.tpl.php,views-view-unformatted - page.tpl.php,views-view-unformatted - gallery - page.tpl.php
  • 行样式输出:。tpl.php, - gallery.tpl.php, - default.tpl.php, - default.tpl.php, - page.tpl.php , - gallery - page.tpl.php

我正在尝试所有可能的组合,例如views-view--gallery--page.tpl.php, views-view-row--gallery--page.tpl.php等,包括--gallery--page.tpl.php但无法找到正确的文件名。那有什么不对吗?

0 个答案:

没有答案