2013-02-19 25 views
0

在我的customer.xml頁面中,我希望將「我的帳戶」鏈接的標籤更改爲客戶的名稱。什麼是正確的方法來做到這一點?Magento - customer.xml中的動態標籤?

<customer_logged_in> 
    <reference name="account.links"> 
     <action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>35</position></action> 
     <action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>40</position></action> 
    </reference> 
</customer_logged_in> 

回答