Created
February 5, 2013 13:52
-
-
Save victorpavlov/4714578 to your computer and use it in GitHub Desktop.
XML: Magento remove links from toplinks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<customer_logged_out> | |
<reference name="top.links"> | |
<!-- Removes 'Log In' link - Default position: 60 | |
<action method="removeLinkByUrl"><url helper="customer/getLoginUrl"/></action>--> | |
<action method="removeLinkByUrl"><url helper="customer/getAccountUrl"/></action> | |
<action method="addLink" translate="label title" module="customer"><label>Registration</label><url helper="customer/getRegisterUrl"/><title>Registration</title><prepare/><urlParams/><position>10</position></action> | |
<remove name="wishlist_link"/> | |
</reference> | |
</customer_logged_out> | |
<customer_logged_in> | |
<reference name="top.links"> | |
<!-- Removes 'Log Out' link - Default position: | |
<action method="removeLinkByUrl"><url helper="customer/getLogoutUrl"/></action> | |
60 --> | |
</reference> | |
</customer_logged_in> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment