Return to Snippet

Revision: 16715
at August 13, 2009 06:04 by nico65


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

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

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

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

Initial Tags
magento

Initial Language
PHP