How do i call .phtml block at specfic page in magento?
below code for simple cms page
{{block type='core/template' name='Test' template='goodtest/test.phtml'}}
and this below code is for php file
<?php
echo $this->getLayout()->createBlock('core/template')->setTemplate('goodtest/test.phtml')->toHtml();
?>
Puneet Kumar Magento Developer
Leave a Reply
Want to join the discussion?Feel free to contribute!