Last active
December 11, 2015 12:08
-
-
Save philbirnie/4598809 to your computer and use it in GitHub Desktop.
An example of how to properly add additional links in Magento
This file contains hidden or 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
<layout version="0.1.0"> | |
<default> | |
<reference name="top.links"> | |
<action method="addLink" translate="label title" module="page"> | |
<label>About</label> | |
<url>about-us</url> | |
<prepare>true</prepare> <!-- This is necessary if we are going to add the base URL --> | |
<title>About</title> | |
<urlParams /> | |
<position>90</position> | |
</action> | |
</default> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment