Get Your Business Re-branded With Parsys Media

Connect with our technology experts.
Call : +91-9004871376 / Skype : parsysmedia / Mail : info@parsysmedia.com

Get Started

How to load phtml file in controller action – magento

How to load phtml file in controller action in magento ? app\design\frontend\jute\default\layout\mymodule.xml <mymodule_mycontroller_myaction translate=”label”>         <label>My Controller</label>         <reference name=”root”>             <action method=”setTemplate”><template>page/1column.phtml</template></action>         </reference>         <reference name=”content”>             <block type=”mymodule/block_myblock” name=”mymodule.myblock” template=”mymodule/myblock.phtml”/>         </reference>  </mymodule_mycontroller_myaction> Tag Detail: 1. mymodule_mycontroller_myaction -> This tag is nothing but, its on out controller