1

我需要在首页上显示新闻文章,但标准方式,将此代码{{block type="profile/profile" name="profile" template="profile/news-front.phtml"}}放在后端的编辑器中不起作用,即使我已经news-front.phtmltemplate/profile. 我真的 - 真的需要帮助。中的输出system.logNot valid template file:frontend/base/default/template/profile/news-front.phtml

4

1 回答 1

0

块类型真的会是配置文件/配置文件吗?如果您只是希望将文件输出为 PHP/HTML,您可能需要考虑使用 core/template 而不是 profile/profile。

于 2012-07-03T11:07:51.963 回答