在Magento上,如果我在PHTML文件上有类似的东西:
$this->getChildHtml('myblock');
如何设置布局模板文件但不使用块?我想在PHTML内部使用“getChildHtml()”直接调用另一个PHTML文件 .
或者在内部块中设置模板文件的内容是什么?
<block type="module/some_path" name="some_path.something" template="xxx.phtml">
<reference name="myblock">
<template>xxxx.phtml</template>
</reference>
</block>
1 回答