How to link to the Top Links of Magento Shops adds, is described in many places on the net. A nice example of Matthias Zeis finds HERE.
However, I would like to make it shorter and therefore the description, how to quickly and easily link to the Top-Links can add.
We wanted another link to the Advanced Search in the top left of My Account insert.
This position is directly related to the customer.xml im Ordner app / design / frontend /[base or default]/[IhrTemplate]/layout. And so we take this Copy and paste ago
<!-- Default layout, loads most of the pages --> <default> <!-- Mage_Customer --> <reference name="top.links"> <action method="addLink" translate="title label" module ="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams /><position>10</position></action> </reference> </default>
more
<!-- Add search --> <default> <reference name="top.links"> <action method="addLink" translate="title label"><label>Search</label><url>catalogsearch/advanced</url><title>Search</title><prepare>true</prepare><position>9</position></action> </reference> </default>
a.
The label and the title are in accordance with the designation or. Designation of the links between the <url> and </url> is then (relative) Added link, we need here and do not forget the position. Then upload again, Clear cache and then do not forget the new link is here.
Used in Magento Version 1.7. Ask, Comments, Proposals? Us directly or as a comment.