Magento: Calling block programmatically in magento
Here is the code for calling block in Magento:-
Module page
<?php echo $this->getLayout()->createBlock('newmodule/newblock')->setTemplate('newmodule/newblock.phtml')->toHtml(); ?>
Calling Static Block
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('indentifer')->toHtml() ?>
OR
$block = Mage::getModel('cms/block')->load('identifier'); echo $block->getTitle(); echo $block->getContent();
In CMS PAge
{{block type='core/template' template='callouts/yourpage.phtml' }}