我想在那裏我複製page.xml我的主題佈局文件夾,並修改它像我在Magento中得到了兩次塊?
<page_two_columns_left translate="label">
<label>All Two-Column Layout Pages (Left Column)</label>
<reference name="root">
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
<!-- Mark root page block that template is applied -->
<action method="setIsHandle"><applied>1</applied></action>
</reference>
<reference name="content">
<block type="core/template" name="mycategories" output="toHtml" template="sweet/sweet.phtml"/>
</reference>
在這裏,我在我的主頁中間期待一個一個街區,主頁上創建產品塊我越來越,但除此之外,我在主頁的底部獲得一個多塊(與此塊sweet.phtml相同)..在頁腳鏈接下面。誰能告訴我最新的問題。
您是否試圖用您的名稱替換名爲'mycategories'的某個塊? – Zyava