【发布时间】:2014-07-01 13:41:16
【问题描述】:
我正在尝试将 updateinfo 块添加到客户页面。
我把这段代码放在customer.xml布局中
<block type="core/text_list" name="updateinfo" as="updateinfo"/>
<reference name="updateinfo">
<block type="core/template" name="updateinfoBlock" template="customer/update_info.phtml" />
</reference>
并将update_info.phtml 添加到客户文件夹中。
还添加了
<?php echo $this->getChildHtml('updateinfo') ?>
到客户页面
但我仍然没有得到任何东西。卡住了。
【问题讨论】:
-
你能发布你的
update_info.phtml代码吗? -
这只是一个简单的 div,在
中包含一些随机文本,以便在我配置它出现之前开始。它没有出现在模板提示路径中,所以我假设它没有加载到页面中
-
你能发布你的 customer.xml 文件吗