【发布时间】:2012-10-15 08:09:47
【问题描述】:
我在一个名为“shopper”的模板中有一个块。我想添加一个块 “app\design\frontend\default\shopper\template\tag\popular.phtml”。
我试过了:
{{block type='core/template' area='frontend' template='tag/popular.phtml' }}
该块未显示。也没有 PHP 错误。
【问题讨论】:
-
您应该始终将
id属性与type和template一起分配。
标签: magento