2

I have added to links with following code in local.xml file.

<?xml version="1.0"?>
<layout version="0.1.0">
    <default translate="label" module="page">
        <reference name="top.links">
            <action method="addLink">
                <label>New Link</label>             
                <url>#</url>
                <title>New Link</title>
            </action>
        </reference>
    </default>
</layout>

But "New Link" is showing twice in header links.Please suggest me a way.

closed as off-topic by Keyul Shah, Marius, David Manners, Mufaddal, Dan Apr 29 '14 at 8:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Marius, David Manners, Mufaddal, Dan
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    I found whats wrong with this. Along with adding this code i have given layout updates to local.xml from my module's config.xml file. When i removed layout updates from config.xml its working correctly.. – Ann Mary Apr 28 '14 at 12:07