Magento - Add a Top Link

Posted on December 22, 2012 by Nimrod Techn There have been 0 comments

Go to the layout directory in app/design/frontend/default/* (your current theme), edit your module's xml (if not there, copy from base directory) and add the following:

        <default>
		<reference name="top.links">
			<action method="addLink" translate="label title">
				<label>Home</label>
				<url>http://www.engineer-ing.com/</url>
				<title>Home</title>
			</action>
		</reference>
	</default>

This post was posted in Writing a Magento Extension

Magento is a well-engineered eCommerce platform designed to help engineers develop customized eCommerce online stores. Due to lack of proper coding documentation, Engineer-ing.com was created with the sole purpose of instructing Magento developers to-be with the "how-to-do" know-how. In the event of unresolved issues, you are more than welcome to contact me for consultation. However, please do so only if you possess a Software Engineering background and you're able to specify your question.