<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://joetsuihk.com/zh-hant/taxonomy/term/223/all" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>vbo</title>
    <link>http://joetsuihk.com/zh-hant/taxonomy/term/223/all</link>
    <description></description>
    <language>zh-hant</language>
     <atom:link href="http://joetsuihk.com/zh-hant/taxonomy/term/223/all/feed" rel="self" type="application/rss+xml" />
      <item>
    <title>Rules 7.x 模組 201「當一內容設為 sticky 的時候, 站內其他的內容都設為 非 sticky」</title>
    <link>http://joetsuihk.com/zh-hant/rules_7x_%E6%A8%A1%E7%B5%84_201%E3%80%8C%E7%95%B6%E4%B8%80%E5%85%A7%E5%AE%B9%E8%A8%AD%E7%82%BA_sticky_%E7%9A%84%E6%99%82%E5%80%99_%E7%AB%99%E5%85%A7%E5%85%B6%E4%BB%96%E7%9A%84%E5%85%A7%E5%AE%B9%E9%83%BD%E8%A8%AD%E7%82%BA_%E9%9D%9E_sticky%E3%80%8D</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;首先介紹這個教學會用到的另一個強力模組: Views Bulk Operations&lt;br /&gt;
Views bulk operation (VBO) 是在 Drupal 6.x 的時候已經是很好用的模組&lt;br /&gt;
可以一次性為大量節點設定值&lt;br /&gt;
例如設為 unpublish, 批量賦與欄位值, 加減 tag 之類&lt;/p&gt;
&lt;p&gt;VBO 在 7.x 的重大改變是它變成一個欄位&lt;br /&gt;
不再是一個獨立的 &quot;Display&quot;&lt;br /&gt;
可以想像, 建立一個 table, 再在前頭加一個 checkbox 欄位&lt;br /&gt;
table 的上方放一個 actions 的下拉選單&lt;br /&gt;&lt;img src=&quot;/files/vbo.PNG&quot; /&gt;&lt;/p&gt;
&lt;p&gt;因為 views 是不支持 Rules 內的 &quot;List&quot; 的&lt;br /&gt;
所以便借用 VBO 的 &quot;Load a list of entity objects from a VBO View.&quot;&lt;br /&gt;
將 &quot;list of nodes&quot; 傳到 rules 之內&lt;br /&gt;
所以, 相同原則之下, 你可以使用 node smart queue 逹成同樣的效果&lt;br /&gt;
VBO 只是一個例子而已&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/development&quot;&gt;Development&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/zh-hant/taxonomy/term/33&quot;&gt;views&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/zh-hant/taxonomy/term/57&quot;&gt;rules&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/zh-hant/free_tags/vbo&quot;&gt;vbo&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;Rules 7.x 模組 201「當一內容設為 sticky 的時候, 站內其他的內容都設為 非 sticky」 - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/zh-hant/rules_7x_%E6%A8%A1%E7%B5%84_201%E3%80%8C%E7%95%B6%E4%B8%80%E5%85%A7%E5%AE%B9%E8%A8%AD%E7%82%BA_sticky_%E7%9A%84%E6%99%82%E5%80%99_%E7%AB%99%E5%85%A7%E5%85%B6%E4%BB%96%E7%9A%84%E5%85%A7%E5%AE%B9%E9%83%BD%E8%A8%AD%E7%82%BA_%E9%9D%9E_sticky%E3%80%8D&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Thu, 16 Feb 2012 07:31:27 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">276 at http://joetsuihk.com</guid>
  </item>
  </channel>
</rss>
