如何创建自定义主题视图

时间:2012-11-30 11:04:23

标签: drupal drupal-7 drupal-views

我已使用CCKView 2 modules定义了一个视图。我有两种方式打印结果。 1-使用“节点” 2 - 使用“字段”

  1. 如果我选择节点内容,我会选择查看模式。默认为 (teaser,rss,....)现在,
  2. 问题1 - 如何创建新的自定义视图    节点主题?即:新的预告片/ teaserOne / etc ...(放入下拉菜单)

    1. 如果我选择字段内容,我会在主题信息中看到(高级 菜单)此数据:*NOTE: (this data for prompted in front page block)*

      • 显示输出:views-view.tpl.php,views-view - frontpage.tpl.php, views-view - default.tpl.php,views-view - default.tpl.php, views-view - page.tpl.php,views-view - frontpage - page.tpl.php
      • 样式输出:views-view-unformatted.tpl.php, 视图 - 视图 - 无格式 - frontpage.tpl.php, 视图 - 视图 - 无格式 - default.tpl.php, 视图 - 视图 - 无格式 - default.tpl.php, 视图 - 视图 - 无格式 - page.tpl.php中, 视图 - 视图 - 无格式 - 头版 - page.tpl.php中
      • 行样式输出:views-view-fields.tpl.php, 观点视场 - frontpage.tpl.php, 观点视场 - default.tpl.php, views-view-fields - default.tpl.php,views-view-fields - page.tpl.php, 视图视场 - 头版 - page.tpl.php中
    2. 问题2 :如何使用字段方法为打印结果创建自定义主题?

      请一步一步告诉我。

1 个答案:

答案 0 :(得分:0)

问题1:我认为你要找的是entity view modes module.

我不确定你对第二个问题的意思。