Rama Priya
Rama Priya

Reputation: 2507

In magento how to add or remove a link in header

I want to know how to create a link in magento header and also need to know how to remove the previously added links in header.

Upvotes: 0

Views: 2622

Answers (2)

picodi
picodi

Reputation: 1

I think the answer you want is at:

http://www.magentocommerce.com/boards/viewthread/6237/

Upvotes: 0

liyakat
liyakat

Reputation: 11853

you can add like this for your custom link to set in magento header

<default>
<reference name="top.links">
  <action method="addLink" translate="label title">
    <label>Terms and Condition</label>
    <url>terms</url>
    <title>Terms and Condition</title>
    <prepare>true</prepare>
    <position>2</position>
  </action>
</reference>
</default>

Also see this

http://www.techdilate.com/code/magento-add-remove-top-links-using-layout-xml/

i am not associate with above link for any. this is only for knowledge sharing purpose.

Upvotes: 1

Related Questions