It looks like in 1.4 they changed the wishlist.xml – just replace:
<action method="removeLinkByUrl"><url helper="wishlist/"/></action> |
with:
<remove name="wishlist_link"/> |
Because of the “remove” global effect, if you want to re-add the wishlist link somewhere else, you need to create a custom block. I just copy it from wishlist.xml, change the name attribute of the block, and place it in my local.xml file.
<reference name="WHEREVER">
<block type="wishlist/links" name="wishlist_link_custom">
<action method="addWishlistLink"></action>
</block>
</reference> |
沒有留言:
發佈留言