如何在magento的标题顶部链接中显示“我的愿望清单”

时间:2012-08-03 09:19:26

标签: magento

我将我的magento网站从1.4.1.1升级到magento 1.7.0.2。

之后我的愿望清单链接没有显示在右上角的标题中。

我该如何显示?

我在customer.xml文件中使用了这段代码:

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

但是在记录后它没有链接到愿望清单。

那我怎么能把它链接起来呢?没有正确的链接?

1 个答案:

答案 0 :(得分:0)

您可以通过以下布局规则添加指向标题的链接。我从app/design/frontend/base/default/layout/customer.xml

为您提供了此示例
<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</p$
</reference>
相关问题