0

在默认客户登录后,我为登录页面创建了一个自定义模块,我使用的是空白模板页面:empty.phtml;

我现在想将页脚和 header.phtml 的编辑版本添加到“empty.phtml”,而不编辑该文件的原始版本。

我怎样才能做到这一点 ??

非常感谢。

4

1 回答 1

0

尝试将其放到您的布局文件中的着陆页部分:

<?xml version="1.0" encoding="UTF-8"?>
<layout version="0.1.0">
  <your_landing_page>
    <reference name="header">
      <action method="setTemplate"><template>your_module/header_file.phtml</template></action>
    </reference>
...
于 2012-06-06T10:27:24.417 回答