我在一个名为“shopper”的模板中有一个块。我想在“app\design\frontend\default\shopper\template\tag\popular.phtml”中添加一个块。
我试过了:
{{block type='core/template' area='frontend' template='tag/popular.phtml' }}
该块未显示。也没有 PHP 错误。
我在一个名为“shopper”的模板中有一个块。我想在“app\design\frontend\default\shopper\template\tag\popular.phtml”中添加一个块。
我试过了:
{{block type='core/template' area='frontend' template='tag/popular.phtml' }}
该块未显示。也没有 PHP 错误。
Did you try
{{block type="core/template" template="tag/popular.phtml"}}
If that doesn't work, make sure you clear cache (if any) and double check that 'shopper' is set to your default theme.
Read more @ http://www.magentocommerce.com/boards/viewthread/221573/
If the content of 'tag/popular.phtml' is the same or similar to base/template/tag/popular.phtml then try
{{block type="tag/popular" template="tag/popular.phtml"}}