Search This Blog

Wednesday, May 23, 2012

Display CMS Block on Phtml file in Magento

Paste your html code in cms block and copy below code and paste at the place where you want to display cms block....

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('detail-right-side')->toHtml(); ?>

For more information checkout our official website.



No comments:

Post a Comment