Magento 我的帐户新页面

Magento My Account new page

我想在我的帐户部分添加新页面。我需要在此页面中放置一个带有一些自定义逻辑的 iframe。

我尝试在下面的部分中添加 link。

<reference name="left">
        <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
            <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
            <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
            <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
        </block>

        <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
        <remove name="tags_popular"/>

    </reference>

但它会生成 404 错误。

Use this 
 <customer_account>        
        <reference name="customer_account_navigation">           
        <action method="addLink" translate="label" module="modulename">
            <name>Tab Name</name>
            <path>path/index/index</path>
            <label>Tab Info</label>
        </action>      
    </reference>    
</customer_account>  
    <modulename_index_index>
    <update handle="customer_account"/>
    <reference name="my.account.wrapper">    
 <block type="blockname/blockname" name="blockname" template="file.phtml" />
        </reference>    
    </modulename_index_index>