How to include CMS block in template file(.phtml)?

Access block's content from .phtml template file by :

1 echo $this->getLayout()->createBlock('cms/block')->setBlockId('static_block_id')->toHTML();

No comments:

Post a Comment