Magento & Yii Solutions
Wednesday, 4 June 2014
How to include CMS block in template file(.phtml)?
Access
block’s content from .phtml template file by :
echo $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘static_block_id’)->toHTML();
reference: http://jaseir.com/magento/how-to-include-cms-block-in-template-file-phtml/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment