Skip to content

Instantly share code, notes, and snippets.

@philbirnie
Last active December 11, 2015 12:08
Show Gist options
  • Save philbirnie/4598809 to your computer and use it in GitHub Desktop.
Save philbirnie/4598809 to your computer and use it in GitHub Desktop.
An example of how to properly add additional links in Magento
<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