Question

I am new in magento. i m using magento version 1.9.0.1

I want to call custom phtml in homepage using my custom module. i don't want to change in CMS pages.

How can i do this?

Was it helpful?

Solution

If you have created a block you can add it to the homepage using this in your theme xml or if you have a layout xml file in your module drop it in there.

  <cms_index_index>
      <reference name="content">
        <block type="core/template" name=""your_template" template="your_template.phtml" />
      </reference>
    </cms_index_index>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top