Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How do I add a static block to a template
 
Sinotex
Jr. Member
 
Total Posts:  23
Joined:  2008-09-30
 

Hi
I want to add a static block to a page.
Reading the section in resources on CMS pages it suggests using the following code:

{{block type="cms/block" block_id="your_block_id" template="cms/content.phtml"}}

When I’ve tried this it just prints the above line of code as text on the page.
What am I doing wrong?

Stephen

 
Magento Community Magento Community
Magento Community
Magento Community
 
joyously
Guru
 
Total Posts:  447
Joined:  2008-08-21
 

See this thread: http://www.magentocommerce.com/boards/viewreply/77681/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sinotex
Jr. Member
 
Total Posts:  23
Joined:  2008-09-30
 

That’s perfect.
Works a treat!
Thanks for your help

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top