【发布时间】:2011-04-14 09:19:13
【问题描述】:
我正在尝试在 Magento 的 page/html/header.phtml 文件中使用 $this->getChildHtml('head')。
在page/1column.phtml 文件中使用$this->getChildHtml('head') 可以按预期工作。
有人能指出我正确的方向来理解$this 是如何在模板中使用的吗?
我认为这个Stack overflow question, Magento - using $this->getPriceHtml on custom page template 是正确的,但我仍然缺少一些东西。谢谢
【问题讨论】: