I have some custom module, on activating this module I want to show a "Custom Module Link" as a top link. Please refer the snapshot below.
How can I achieve this? This link should redirect to one of the Customer account navigation link.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Top-links are generaly managed in Magento through
layout.xml files. To add a link to top links, you need to add an xml code to layout files.
Please refere to this http://excellencemagentoblog.com/blog/2011/09/07/magento-add-top-links-in-magento/
Please put this code under
<reference name="top.links"> and before closing tag
</reference> in your
<action method="addLink" translate="label title"> <label>Your label module</label> <url>your custom url</url> <title>Your title module</title> <prepare>true</prepare> <position>2</position> </action>