Magento Forum

   
404 error in customer My Account page
 
sprakashmyzeal
Jr. Member
 
Total Posts:  10
Joined:  2013-04-25
 

i Have create my own module for customer my Account page. I want to add a new tab in My account page.
I have created it and tab is added but when i go to this tab it’s gives error of 404.
i have created a file at default/template/customer/newtab/newtab.phtml

My layout xml is:

<?xml version="1.0"?>
<layout version="0.1.0">

    <
customer_account>
        <!-- 
Mage_Review -->
        <
reference name="customer_account_navigation" before="-" >
            <
action method="addLink" translate="label"><name>customer_newtab_newtab</name><path>customer/newtab/newtab/</path><label>My Special Products</label></action>
        </
reference>
    </
customer_account>


    <
customer_newtab translate="label">
        <
update handle="customer_account"/>
         <
reference name="my.account.wrapper">
        
            <
block type="customer/newtab_newtab" name="customer_newtab_newtab" template="customer/newtab/newtab.phtml"/> 
        </
reference>
    </
customer_newtab>
</
layout>

What is wrong in this code?
Some one help me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sprakashmyzeal
Jr. Member
 
Total Posts:  10
Joined:  2013-04-25
 

Is no one has solution.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top