Search This Blog

Wednesday, 23 January 2013

Include a block from a module in any PHTML file

<?php 
echo $this->getLayout()->createBlock('newmodule/newblock')
->setTemplate('newmodule/newblock.phtml')->toHtml();
?>

No comments:

Post a Comment