Magento 仅使用xml将块放在页脚之前

Magento 仅使用xml将块放在页脚之前,magento,layout,block,Magento,Layout,Block,我根本不想编辑模板文件,我只想用local.xml在页脚上方放置一个块,并使用自定义块文件或CMS中的静态块 这可能吗 我已尝试添加此项,但无法使用footer.before.before,因为它未使用Mage\u Core\u Block\u Text\u列表 <default> <reference name="content" > <block type="core/text_list" name="customblock"

我根本不想编辑模板文件,我只想用local.xml在页脚上方放置一个块,并使用自定义块文件或CMS中的静态块

这可能吗

我已尝试添加此项,但无法使用footer.before.before,因为它未使用
Mage\u Core\u Block\u Text\u列表

   <default>
      <reference name="content" >
        <block type="core/text_list" name="customblock" as="customblock" after="-" translate="label">
        <label>Custom Block</label>
        </block>
        </reference>
        <reference name="customblockreference">
          <block type="core/template" name="customblock" template="customblock.phtml" />
        </reference>
    </default>

自定义块

您使用哪种Magento版本和布局(1列、2列等)

在最新版本中,您可以使用
footer\u before
位置进行此操作

    <default>
      <reference name="footer_before">
        <reference name="customblockreference">
          <block type="core/template" name="customblock" template="customblock.phtml" />
        </reference>
    </default>