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-更改页脚_Magento_Layout_Content Management System_Block_Footer - Fatal编程技术网

Magento-更改页脚

Magento-更改页脚,magento,layout,content-management-system,block,footer,Magento,Layout,Content Management System,Block,Footer,是否可以在Magento中更改类别页面的页脚? 我们使用的是1.7.0.2版 我们想要的是: 我们需要页脚浮动在分类页面上,并在任何其他页面上保持粘性。 粘性部分和浮动部分不是问题所在 我们需要弄清楚,如何将浮动页脚“分配”到分类页面上的页脚 这不起作用: <default> <reference name="root"> <action method="setTemplate"> <template>page/1colum

是否可以在Magento中更改类别页面的页脚? 我们使用的是1.7.0.2版

我们想要的是: 我们需要页脚浮动在分类页面上,并在任何其他页面上保持粘性。 粘性部分和浮动部分不是问题所在

我们需要弄清楚,如何将浮动页脚“分配”到分类页面上的页脚

这不起作用:

<default>
<reference name="root">
    <action method="setTemplate">
        <template>page/1column-float.phtml</template>
    </action>
<block type="page/html_footer" name="footer" as="footer" template="page/html/footer-float.phtml" />
     </reference>  
 </default>

第/1页Column-float.phtml
你能给我一个提示吗


谢谢

我想这会给你想要的:

<catalog_category_default>
    <reference name="root">
        <action method="setTemplate">
            <template>page/1column-float.phtml</template>
        </action>
        <block type="page/html_footer" name="footer" as="footer" template="page/html/footer-float.phtml" />
     </reference>  
 </catalog_category_default>

<catalog_category_layered>
    <reference name="root">
        <action method="setTemplate">
            <template>page/1column-float.phtml</template>
        </action>
        <block type="page/html_footer" name="footer" as="footer" template="page/html/footer-float.phtml" />
     </reference>  
 </catalog_category_layered>

第/1页Column-float.phtml
第/1页Column-float.phtml

还有一个问题:不幸的是,这现在不起作用:cms\u footer\u链接似乎不可用,但我们已经在cms.xml中声明了它-我们需要更改什么?