First create a static block from admin >> CMS >> static blocks
and write this code in your phtml file :
getLayout()->createBlock('cms/block')->setBlockId('given_Static_block_name')->toHtml();
?>
First create a static block from admin >> CMS >> static blocks
and write this code in your phtml file :
getLayout()->createBlock('cms/block')->setBlockId('given_Static_block_name')->toHtml();
?>
Leave a Reply
You must be logged in to post a comment.