<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://joetsuihk.com/zh-hant/taxonomy/term/30/all" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Drupal5.x</title>
    <link>http://joetsuihk.com/zh-hant/taxonomy/term/30/all</link>
    <description></description>
    <language>zh-hant</language>
     <atom:link href="http://joetsuihk.com/zh-hant/taxonomy/term/30/all/feed" rel="self" type="application/rss+xml" />
      <item>
    <title>簡介 *.tpl.php</title>
    <link>http://joetsuihk.com/zh-hant/node/97</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;這是Drupal 使用 *.tpl.php 的基本之中的基本 (無論Drupal5.x, Drupal6.x)&lt;br /&gt;
因為很多讀者始終不明白 *.tpl.php 的運作&lt;br /&gt;
所有後加這一篇最簡單的篇章&lt;br /&gt;
這一篇完成後, 你可以:&lt;br /&gt;
story 不顯示作者, 提交時間,&lt;br /&gt;
但page 則顯示&lt;/p&gt;
&lt;p&gt;我們先完成代碼部份, 再講解其中的原理&lt;br /&gt;
將 /themes/garland 資料夾, 複製及更名到 /sites/themes/garland2 (或者你可以使用你喜歡的版型)&lt;br /&gt;
到管理-&amp;gt;版型 內轉到 garland2 版型為預設&lt;br /&gt;
將 garland2 內的 node.tpl.php, 複製成 node-story.tpl.php&lt;br /&gt;
打開 node-story.tpl.php, 移除:&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/zh-hant/free_tags/theming&quot;&gt;theming&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/zh-hant/taxonomy/term/30&quot;&gt;Drupal5.x&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Mon, 24 Mar 2008 16:25:01 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">97 at http://joetsuihk.com</guid>
  </item>
  </channel>
</rss>
