Showing posts with label static block. Show all posts
Showing posts with label static block. Show all posts

Thursday, 20 December 2012

How to call static block in the magento files ?


<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('block_id')->toHtml() ?>

where
block_id = the id which you given in the admin for the static block