Add a template or Block in .phtml without block type in magento!!

We can add a block without type block type

/** where u want to add a block
**
*/
<?php echo $this->getLayout()->createBlock('Tag/Popular')->setTemplate('tag/popular.phtml')->toHtml(); ?>
Advertisements

Tagged: ,

%d bloggers like this: