Php 有没有一种方法可以将自定义页脚用于模板,而不是在Magento中使用默认页脚

Php 有没有一种方法可以将自定义页脚用于模板,而不是在Magento中使用默认页脚,php,magento,magento-1.4,Php,Magento,Magento 1.4,有没有办法让自定义模板指向特定的自定义页脚? 我在/enterprise/template/newtemplate/test.phtml下创建了一个模板 该模板工作正常,但它使用的是位于中的默认foot.phtml /企业/template/page/html/foot.phtml 我希望我的template test.phtml指向另一个页脚。对于Magento 1.x: 将下面的代码放入local.xml app/design/frontend/{your theme}/default/la

有没有办法让自定义模板指向特定的自定义页脚? 我在/enterprise/template/newtemplate/test.phtml下创建了一个模板

该模板工作正常,但它使用的是位于中的默认foot.phtml

/企业/template/page/html/foot.phtml


我希望我的template test.phtml指向另一个页脚。

对于Magento 1.x: 将下面的代码放入
local.xml

app/design/frontend/{your theme}/default/layout/local.xml

<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<reference name="footer">
<block type="core/template" name="mylogic" template="mylogic/mylogic.phtml"/>
</reference>
</default>
</layout>
<?php echo $this->getChildHtml('mylogic') ?>