开发者

Is cms/content.phtml ever used?

Judging by the file structure you would think that a cms-page uses the content_heading.phtml file to pri开发者_如何学Gont the heading and the content.phtml to print the content of the page, but apparently that's not the case.

Changes to content_heading.phtml come out just fine, but for content.phtml; nothing.

Is content.phtml ever used? If no, how would you go about changing or adding html around the content without using the wysiwyg in the admin?


I can't find a single reference in the framework to cms/content.phtml. It appears to be unused. CMS pages can be set to use different content templates at your request, most of which follow typical Magento page layouts.

Take a look here for a tutorial on how to add a new CMS template, which you can change at will.

Hope that helps!

Thanks, Joe

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜