在我的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>
答案 0 :(得分:0)
您可以通过查看这些帖子找到问题的解决方案。所以请通过帖子。
additional parameters in magento's customer.xml layout file
http://www.magentocommerce.com/boards/viewthread/230512/#t326018