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