Posted By

nico65 on 08/13/09


Tagged

block static magento


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


magento insert CMS Blocks into template (.phtml) files without any layout modifications


 / Published in: PHP
 

URL: http://www.molotovbliss.com/blog/tag/magento/

The quick and easy way to insert CMS Blocks into template (.phtml) files without any layout modifications:

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

Report this snippet  

You need to login to post a comment.