2
添加一個動作過濾器,以塊我有以下幾點:Magento的1.4.2 - 在CMS
<div>
<h2 class="subtitle">Featured Products</h2>
{{block type="catalog/product_list" category_id="41" template="catalog/product/list.phtml"}}</div>
<div>
...我想一個動作方法添加到它:
<action method="setColumnCount"><columns>4</columns></action>
...但是我不能在CMS中添加操作方法,或者我沒有正確格式化,任何人都可以幫忙嗎?
感謝保羅
真棒感謝(代碼從here借來的),Magento的論壇和聊天是狗屎! SO FTW! – 2011-02-17 16:30:33