Magento - customer.xml中的动态标签?

时间:2013-02-19 22:37:23

标签: 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>

1 个答案:

答案 0 :(得分:0)

您可以通过查看这些帖子找到问题的解决方案。所以请通过帖子。

additional parameters in magento's customer.xml layout file

http://www.magentocommerce.com/boards/viewthread/230512/#t326018