Xml Magento-如何更改侧边栏顺序?

Xml Magento-如何更改侧边栏顺序?,xml,magento,layout,Xml,Magento,Layout,我在Magento 1.7.0.1上安装了Modern主题,并从Codinitive安装了扩展名“侧栏导航菜单专业版”,因此在左侧侧栏有三个框(“购物方式”、“类别”、“比较产品”和“我的购物车”)。现在,我想通过以下方式更改顺序: <block type="catalog/product_compare_sidebar" after="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compar

我在Magento 1.7.0.1上安装了Modern主题,并从Codinitive安装了扩展名“侧栏导航菜单专业版”,因此在左侧侧栏有三个框(“购物方式”、“类别”、“比较产品”和“我的购物车”)。现在,我想通过以下方式更改顺序:

<block type="catalog/product_compare_sidebar" after="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
  • 我的手推车
  • 类别
  • 比较产品
  • 我试图通过编辑catalog.xml中的行来更改顺序

    <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
    
    
    
    并以这种方式改变了它:

    <block type="catalog/product_compare_sidebar" after="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
    
    
    
    所以“我的购物车”在比较框上方——这就是我所知道的,因为在magentocommerce.com论坛上很难找到一个明确的解决方案。我不知道类别框的.xml文件

    Codinitive的另一个建议是创建自己的locale.xml文件,从中可以编辑完整的页面布局。但这对我没有帮助,因为我不是程序员


    有人能帮我编辑侧边栏布局吗?(请原谅我的英语。)

    对于类别,您可以检查sidenav.xml并在那里更改导航块的位置

    查看详细信息