Here is the code for showing magento static block. just add the line where you need to output the content of static block.
in phtml:
in phtml:
<?php
echo$this->getLayout()->createBlock('cms/block')->setBlockId('your-block-identifier')->toHtml();
?>
in editor:{{block type="cms/block" name="your-block-name"block_id="your-block-dentifier"}}
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন