Adding a link to top.links in magento.
I often need to add cms pages to the top links section of magento’s cms. The best way I’ve found to do this is in the page.xml document for your theme. Where it says: [code language=”xml”] <block type="page/template_links" name="top.links" as="topLinks"/> [/code] Simply change it to: [code language=”xml”] <block type="page/template_links" name="top.links" as="topLinks"> <action method="addLink" translate="label title"><label>Home</label><url>/</url><title>Home</title><prepare/><urlParams/><position>1</position></action>…