Php Magento忽略布局规则
Magento 1.9.x 我在local.xml中有以下规则:Php Magento忽略布局规则,php,magento,Php,Magento,Magento 1.9.x 我在local.xml中有以下规则: <catalog_category_default> <reference name="root"> <action method="setTemplate"><template>page/1column.phtml</template></action> </reference> </catalog_cate
<catalog_category_default>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
</catalog_category_default>
<catalog_category_layered>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
</catalog_category_layered>
第/1页column.phtml
第/1页column.phtml
在“管理”面板中,所有类别都设置为“页面布局:无布局更新”
然而,我所有的分类页面都在3列布局上
我遗漏了什么?如果从管理面板设置的类别设计从那里更改
1。转到目录->管理类别2。选择任何类别3。单击“自定义设计”选项卡4。从“页面布局”选择框5中选择所需的页面布局。保存类别,您就完成了代码>谢谢,但我正在寻找一个布局XML解决方案。如果没有从“管理”面板设置布局,则布局将起作用。只是为了重新迭代,在“管理”面板中,所有类别都设置为“页面布局:无布局更新”
——但布局不起作用。有什么想法吗?