Showing posts with label Add custom menu in my account navigation magento. Show all posts
Showing posts with label Add custom menu in my account navigation magento. Show all posts

Saturday, 25 July 2015

Custom tab in customer account navigation magento


Custom tab in customer account navigation magento

If you want to add menu in My account navigation, put below code in your any module layout.xml Magento


Suppose we have My Jobs module...

<customer_account>
   <reference name="customer_account_navigation">
     <action method="addLink" translate="label"

module="quote"><name>quote</name><path>quote/jobs</path><label>My Jobs</label></action>
   </reference>
</customer_account>

<quote_jobs_index translate="label">
    <label>Customer My Account My Wishlist</label>
    <update handle="customer_account"/>
    <reference name="my.account.wrapper">
           <block type="quote/quote" name="quote" template="quote/jobs.phtml"/>
    </reference>
    <reference name="right">
           <action method="unsetChild"><name>quote_customer_sidebar</name></action>
    </reference>
</quote_jobs_index>

Then create JobsController in Your module

That's it... Enjoy Chandresh rana's Coding.... :)