2012-11-30 33 views
2

我用CCKView 2 modules定義了一個視圖。我有兩種打印結果的方式。 1-與「節點」 2 - 與「字段」如何創建自定義主題視圖

  1. 如果我選擇節點內容,我會選擇查看模式。默認爲 (teaser,rss,....)。現在,

問題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中,視圖視圖 - 頭版 - page.tpl.php中
    • 樣式輸出:視圖 - 視圖 - unformatted.tpl.php, 視圖 - 視圖 - 無格式 - frontpage.tpl.php , views-view-unformatted-default.tpl.php, views-view-unformatted-default.tpl.php, views-view-unformatted -page.tpl.php, views-view-unformatted- -frontpage - page.tpl.php
    • 行風格輸出:views-view-fields.tpl.php, views-view-fields - frontpage.tpl.php, views-view-fields - default.tpl.php, views-view-fields - default.tpl.php,views-view-fields - page .tpl.php, 觀點視場 - 頭版 - page.tpl.php中

問題2:如何創建自定義主題使用字段的方法打印結果?

請一步一步告訴我。

回答