本週我開始使用Magento,並試圖創建一個新主題。繼"Designing for Magento"文章維基,我試圖從索引中刪除視圖熱門的標籤塊,加入這行來local.xml中對Magento的\ APP \設計\前臺\ DEFAULT \ mytheme的\佈局:刪除Magento索引視圖中的「熱門標籤」
<remove name="tags_popular"/>
我不知道爲什麼,但標籤仍然存在,而如果我做了以下的語言切換消失:
<remove name="store_language"/>
我也試過這沒有影響:
<reference name="left">
<action method="unsetChild"><name>tags_popular</name></action>
</reference>
我甚至刪除了tag.xml,標籤仍然存在!
我知道我可以擺脫他們在後端禁用Mage_tag,購買我想了解爲什麼這不起作用。
謝謝!
您是否嘗試禁用緩存。如果緩存打開(這是默認選項),則可能看不到您對模板所做的更改。 – 2010-04-27 09:11:53