.

.

How to create Static Block & Call it .phtml file iun magento

Step1) Create Block from admin dashboard.
Go to cms ->block ->create block
















Step2) then Go to where you want add this block . and Add this code.
And use Identitifier name like contact-us-block is my block identifier name.
so use setBlockId('contact-us-block')

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('contact-us-block')->toHtml()?>


EmoticonEmoticon