Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.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
Magento基本主题添加审阅页2列右侧布局更改为1列laylout_Magento - Fatal编程技术网

Magento基本主题添加审阅页2列右侧布局更改为1列laylout

Magento基本主题添加审阅页2列右侧布局更改为1列laylout,magento,Magento,我想用基本主题包自定义一个主题 我已将我的详细产品页面更改为1列布局 当我单击详细信息页面中的“添加您的评论”链接时。然后转到index.php/review/product/list/id/5/category/3/#review表单这样的url,但它是2列右布局 如何将其更改为1列布局 我已经试着在review.xml中完成了 <reviews> <!-- Mage_Review --> <reference name="root">

我想用基本主题包自定义一个主题

我已将我的详细产品页面更改为1列布局

当我单击详细信息页面中的“添加您的评论”链接时。然后转到index.php/review/product/list/id/5/category/3/#review表单这样的url,但它是2列右布局

如何将其更改为1列布局

我已经试着在review.xml中完成了

   <reviews>
    <!-- Mage_Review -->
    <reference name="root">
        <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
    </reference>
</reviews>

第页/2列-left.phtml

更改为1column.phtml,但它不起作用

更改
查看产品列表
处理程序

<review_product_list>
    <reference name="root">
        <action method="setTemplate"><template>page/1column.phtml</template></action>
    </reference>
</review_product_list>

第/1页column.phtml

希望这有帮助

更改布局和块/html输出缓存后是否刷新了它?是的!它很有效,我整天都在谷歌上搜索它。非常感谢。:)伟大的如果有效,接受答案。好的,10分钟后我必须接受它。你回答得真快。