2015-10-06 47 views
-1

在customer.xml文件複製我Magento。如何編輯頁眉

<default> 
<!-- Mage_Customer --> 
<reference name="top.links"> 
    <action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action> 
</reference> 

並更改標題進行測試。如何將此標題鏈接到頁面https://abcde.com/test/

+1

這些是菜單,不能直接調用。 解釋你想要的東西 – urfusion

回答

0

好吧,我找到它了。解決方案:

<default> 
    <!-- Mage_Customer --> 
     <reference name="top.links"> 
      <action method="addLink" translate="label title" module="customer"><label>TEST</label><url>test</url><title>TEST</title><prepare/><urlParams/><position>10</position></action> 
    </reference> 
</default>