Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/apache-kafka/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
布局XML问题-Magento EE 1.14_Magento - Fatal编程技术网

布局XML问题-Magento EE 1.14

布局XML问题-Magento EE 1.14,magento,Magento,我目前在最新版本的Magento EE 1.14中为我的主页设置自定义模板时遇到问题,我正在使用以下xml更改页面 <cms_index_index translate="label"> <reference name="root"> <action method="setTemplate"><template>page/home-page.phtml</template></action>

我目前在最新版本的Magento EE 1.14中为我的主页设置自定义模板时遇到问题,我正在使用以下xml更改页面

<cms_index_index translate="label">
    <reference name="root">
        <action method="setTemplate"><template>page/home-page.phtml</template></action>
    </reference>  
  </cms_index_index>

page/home-page.phtml

但是,这不会改变任何事情,如果我将内部代码放入Magento CMS中的页面,那么它将按预期工作。

您将它放入什么XML文件?已将其添加到theme/default/layout/local.XML中