How to display a Static-Block in a CMS-Page

Posted by Labels: at


One of the coolest things in Magento, is the ability to call a static block within a CMS page. Here is how you can do just that.

FOLLOW STEPS

1. Copy this code into your CMS page

{{block type="cms/block" block_id="ur-block-id"}}

"ur-block-id" is your block id, remember to change it to correspond to your static block identifier.

//if your block does not display, it simply means your need to set your cms/block permission.

2. Set permission for your CMS/Block (follow steps below to do so, if you have not set it already)

System > Permissions > Blocks
Now click on Add New Block and write cms/block on Block Name, finally set YES, on the allow tab and save.
And That's it, you should be able to see you static block display within your CMS page.
Post a Comment

Back to Top