<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://drupaltaiwan.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Drupal Taiwan 正體中文支援站 - view - 回應</title>
 <link>http://drupaltaiwan.org/taxonomy/term/292</link>
 <description>Comments for &quot;view&quot;</description>
 <language>zh-hant</language>
<item>
 <title>Re: 請問如何產生相關頁面的區塊</title>
 <link>http://drupaltaiwan.org/forum/20080826/2458#comment-7595</link>
 <description>&lt;p&gt;補充一下以前用過的，雖然好像達不到問題者的要求&lt;br /&gt;
relatedlinks 這個模組也不錯用&lt;br /&gt;
--&lt;br /&gt;
&lt;a href=&quot;http://jimmyhub.net&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://jimmyhub.net/files/images/mylogo01_0.square.jpg&quot; title=&quot;jimmy&amp;#039;s portfolio&quot; align=&quot;absmiddle&quot; /&gt;&lt;/a&gt; from open mind to open source~&lt;/p&gt;
</description>
 <pubDate>Tue, 02 Sep 2008 11:34:25 +0800</pubDate>
 <dc:creator>jimmy</dc:creator>
 <guid isPermaLink="false">comment 7595 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 請問如何產生相關頁面的區塊</title>
 <link>http://drupaltaiwan.org/forum/20080826/2458#comment-7578</link>
 <description>&lt;p&gt;感謝大家的回應，我想我的表達可能不夠清楚，我希望做到的是產生一個block，然後裡面會出現與頁面相關的產品m&lt;br /&gt;
後來我發現相簿中的node可以再分屬其他的Taxonomy(學藝不精啊)，如此一來就可以用similar by term實作出來，比較可惜的是similar by term產生的區塊沒辦法像view一樣有多樣的自訂顯示法，而view的argument似乎只能吃url提供的參數.....所以目前暫時是把Taxonomy和cck同時建立這些產品的規格和產編來達成要的表達法，以上。 :P&lt;/p&gt;
</description>
 <pubDate>Mon, 01 Sep 2008 09:55:54 +0800</pubDate>
 <dc:creator>helldiver</dc:creator>
 <guid isPermaLink="false">comment 7578 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 請問如何產生相關頁面的區塊</title>
 <link>http://drupaltaiwan.org/forum/20080826/2458#comment-7564</link>
 <description>&lt;p&gt;image gallery 裡可以分不同的附屬相簿啊～&lt;/p&gt;
</description>
 <pubDate>Sun, 31 Aug 2008 18:06:34 +0800</pubDate>
 <dc:creator>charlesc</dc:creator>
 <guid isPermaLink="false">comment 7564 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 請問如何產生相關頁面的區塊</title>
 <link>http://drupaltaiwan.org/forum/20080826/2458#comment-7543</link>
 <description>&lt;p&gt;Drupal 6 有個模組叫做CCK Blocks，你可以先用views過濾出你想要的區塊，然後發表文章時填入。&lt;/p&gt;
&lt;p&gt;另外Viewfield有6的發展版本喔，也可以試試看！&lt;/p&gt;
&lt;p&gt;以上提供你參考～&lt;/p&gt;
</description>
 <pubDate>Thu, 28 Aug 2008 09:14:25 +0800</pubDate>
 <dc:creator>everfreewing</dc:creator>
 <guid isPermaLink="false">comment 7543 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 請問如何產生相關頁面的區塊</title>
 <link>http://drupaltaiwan.org/forum/20080826/2458#comment-7540</link>
 <description>&lt;p&gt;原本希望能做到的是顯示同類型的產品，但是因為目前所有的產品都擠在image gallery裡面，如果用這樣的做法還是會撈到一堆不相關的產品。自行改similar entries似乎是最快的方法，但是卡在不懂php可能反而會變成惡夢。anyway   還是謝謝你提供意見~&lt;/p&gt;
</description>
 <pubDate>Wed, 27 Aug 2008 14:06:53 +0800</pubDate>
 <dc:creator>helldiver</dc:creator>
 <guid isPermaLink="false">comment 7540 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 請問如何產生相關頁面的區塊</title>
 <link>http://drupaltaiwan.org/forum/20080826/2458#comment-7539</link>
 <description>&lt;p&gt;用views作同分類（image gallery=分類）的產品列表？&lt;/p&gt;
</description>
 <pubDate>Wed, 27 Aug 2008 11:39:50 +0800</pubDate>
 <dc:creator>charlesc</dc:creator>
 <guid isPermaLink="false">comment 7539 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 如何用view在只在區塊秀標題,頁面除了秀標題和其他的欄位資訊?</title>
 <link>http://drupaltaiwan.org/forum/20080114/1814#comment-5547</link>
 <description>&lt;p&gt;太感謝了!!這兩種方法我會都試試!!&lt;/p&gt;
</description>
 <pubDate>Tue, 15 Jan 2008 10:44:52 +0800</pubDate>
 <dc:creator>ichien</dc:creator>
 <guid isPermaLink="false">comment 5547 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 如何用view在只在區塊秀標題,頁面除了秀標題和其他的欄位資訊?</title>
 <link>http://drupaltaiwan.org/forum/20080114/1814#comment-5546</link>
 <description>&lt;p&gt;我想比較簡單的做法應該是&lt;br /&gt;
分別作一個page view 和一個block view&lt;br /&gt;
然後製作一個針對該block的block.tpl&lt;br /&gt;
如果block view識別名稱是xxx&lt;br /&gt;
則該block的tpl檔名使用block-views-xxx.tpl.php&lt;br /&gt;
在tpl裡加入連到page view的連結&lt;/p&gt;
&lt;p&gt;如果是要用一個view同時提供page 和 block&lt;br /&gt;
在block的部分選擇使用list view&lt;br /&gt;
然後使用theme wizard&lt;br /&gt;
在select a view 選擇該view&lt;br /&gt;
select theme type 應該選 simple list 就可以&lt;br /&gt;
然後按下面的 select theme type 按鈕&lt;br /&gt;
theme wizard會產生三欄程式碼 每個欄的標題會說明程式碼要放在哪個檔案&lt;br /&gt;
template.php&lt;br /&gt;
views-list-xxx.tpl.php&lt;br /&gt;
views-list-xxx.css&lt;br /&gt;
三個都放到使用的版型資料夾裡&lt;br /&gt;
如果template.php已經有了 就把該段程式碼加進去 不用自己新增一個&lt;br /&gt;
然後在views-list-xxx.tpl.php裡會有在view的fields裡設定的所有欄位 以及該欄位自訂的label&lt;br /&gt;
把不要顯示的欄位那部分div整個刪除 只留下 print $title那一段的div (print $title_label 用不到的話可以刪)&lt;br /&gt;
這樣block顯示的時候就只會顯示標題了 而page還是會照fields裡設定的欄位顯示&lt;/p&gt;
&lt;p&gt;已上是我試過的兩種做法&lt;/p&gt;
</description>
 <pubDate>Tue, 15 Jan 2008 10:30:31 +0800</pubDate>
 <dc:creator>hom</dc:creator>
 <guid isPermaLink="false">comment 5546 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: </title>
 <link>http://drupaltaiwan.org/forum/20071231/1779#comment-5508</link>
 <description>&lt;p&gt;呵，真是抱歉，我用的是英文版的 Drupal，不曉得中文叫啥 :p&lt;/p&gt;
</description>
 <pubDate>Fri, 11 Jan 2008 23:36:05 +0800</pubDate>
 <dc:creator>DrakeGuan</dc:creator>
 <guid isPermaLink="false">comment 5508 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: </title>
 <link>http://drupaltaiwan.org/forum/20071231/1779#comment-5507</link>
 <description>&lt;p&gt;我的天，除了要懂 php，還要會不少abc...&lt;/p&gt;
</description>
 <pubDate>Fri, 11 Jan 2008 22:38:46 +0800</pubDate>
 <dc:creator>annting</dc:creator>
 <guid isPermaLink="false">comment 5507 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: </title>
 <link>http://drupaltaiwan.org/forum/20071231/1779#comment-5443</link>
 <description>&lt;p&gt;撇開 full view 不談，當我想要有 teaser 時，會使用 teaser view，這好像是廢話，這會在後頭解釋。&lt;/p&gt;
&lt;p&gt;當需要以特定的方式呈現，或秀出特定的欄位時，我會直接使用 list view，而不去考慮其它的 grid view, square view, ... 等，然後再搭配一些寫在 template.php 的函式（最常用的就屬 THEME_views_view_list_VIEWNAME），來直接控制要輸出的 html tag，做到完全控制網頁內容的結構（content structure），然後接著寫與它搭配的 css 內容。我在做這件事時，都會開著 &lt;a href=&quot;http://drupal.org/node/42597&quot; title=&quot;http://drupal.org/node/42597&quot;&gt;http://drupal.org/node/42597&lt;/a&gt; 這個頁面當參考。&lt;/p&gt;
&lt;p&gt;使用 teaser view 的最大好處是，可以很容易地得到 teaser 這個資料，而不用去煩心找到產生 teaser 的 function 來~&lt;/p&gt;
&lt;p&gt;一點點自己的心得分享 :p&lt;/p&gt;
</description>
 <pubDate>Fri, 04 Jan 2008 01:42:42 +0800</pubDate>
 <dc:creator>DrakeGuan</dc:creator>
 <guid isPermaLink="false">comment 5443 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 請問View中的teaser view</title>
 <link>http://drupaltaiwan.org/forum/20071231/1779#comment-5432</link>
 <description>&lt;p&gt;我改用List View&lt;br /&gt;
篩選後，果然是可以做到的。&lt;/p&gt;
&lt;p&gt;views無所不在呀！&lt;/p&gt;
</description>
 <pubDate>Wed, 02 Jan 2008 02:58:47 +0800</pubDate>
 <dc:creator>LeS</dc:creator>
 <guid isPermaLink="false">comment 5432 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 請問View中的teaser view</title>
 <link>http://drupaltaiwan.org/forum/20071231/1779#comment-5417</link>
 <description>&lt;p&gt;teaser 是照原本的方式顯示的，所以乾脆針對該 content type 新建一個 page-xxx.tpl.php ?&lt;br /&gt;
content template 應該也是可以的，因為他可以改 teaser/full/rss 三種呈現方式。&lt;/p&gt;
</description>
 <pubDate>Tue, 01 Jan 2008 15:12:49 +0800</pubDate>
 <dc:creator>charlesc</dc:creator>
 <guid isPermaLink="false">comment 5417 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 求救: 請問怎樣做才可以使 imagefield+CCK+View 有分頁功能?</title>
 <link>http://drupaltaiwan.org/forum/20070410/1102#comment-2982</link>
 <description>&lt;p&gt;good!!&lt;/p&gt;
&lt;p&gt;漫畫作品...期待 :)&lt;/p&gt;
</description>
 <pubDate>Sun, 15 Apr 2007 07:48:09 +0800</pubDate>
 <dc:creator>charlesc</dc:creator>
 <guid isPermaLink="false">comment 2982 at http://drupaltaiwan.org</guid>
</item>
<item>
 <title>Re: 求救: 請問怎樣做才可以使 imagefield+CCK+View 有分頁功能?</title>
 <link>http://drupaltaiwan.org/forum/20070410/1102#comment-2971</link>
 <description>&lt;p&gt;注意: 我試過 upgrade 到 thickbox 2.1，但 firefox 不能正常顯示 overlay. 所以不建議升級，用回 thickbox module 裡的 1.2.4.1 便可。&lt;/p&gt;
</description>
 <pubDate>Fri, 13 Apr 2007 20:01:37 +0800</pubDate>
 <dc:creator>badbuta</dc:creator>
 <guid isPermaLink="false">comment 2971 at http://drupaltaiwan.org</guid>
</item>
</channel>
</rss>
