How do I call a static block inside phtml magento
A static block in phtml file of magento, sometimes we need to do this kind of functionallity.
For instance whenever you want to add one banner image on right side of callout block.
Create your static block in the admin area of Magento. CMS > Static Blocks Click on '+ Add New Block'.
The 'Identifier' is what you'll need to take note of for embedding the block.
For instance whenever you want to add one banner image on right side of callout block.
Create your static block in the admin area of Magento. CMS > Static Blocks Click on '+ Add New Block'.
The 'Identifier' is what you'll need to take note of for embedding the block.
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('banner_image_block_id')->toHtml() ?>
Pritesh

Pritesh Pethani