Thursday 17 May 2012

Magento: Add phtml file to template

Magento: Add phtml file to template

Use this bit of code:
<block type="core/template" name="footerMenu" template="page/footermenu.phtml"/>
in your XML file.
Then this in your template file if you want to place it:
<?php echo $this->getChildHtml('footerMenu') ?>

No comments:

Post a Comment