cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with website - customer login in footer and Top Menu

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Problems with website - customer login in footer and Top Menu

Hello Guys, 

 

I have got a problem, the customer log in and create an account link in not listed on the site, I want to add this into the top menu and the footer as a link. If you could let me know how I could do this. 

 

Cheers

 

Charlotte

2 REPLIES 2

Re: Problems with website - customer login in footer and Top Menu

For your requirement, you can use xml refrence to add link. here is the sample code.
<reference name="footer_links">
    <action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
        <label>Search Terms</label>
        <url helper="catalogsearch/getSearchTermUrl" />
        <title>Search Terms</title>
    </action>
</reference>

Re: Problems with website - customer login in footer and Top Menu

Hello,

 

In Magento these are default links which should appear in your top menu and under footer.

I would suggest please check under the app->design->frontend->Your theme->default->layout-> customer.xml for this code

 <reference name="top.links">
    <action method="addLink" translate="label title" module="customer">
        <label>My Account</label>
        <url helper="customer/getAccountUrl"/>
        <title>My Account</title><prepare/>
        <urlParams/><position>10</position>
    </action>
    <action method="addLink" translate="label title before_text" module="customer">
        <label>Register</label>
        <url helper="customer/getRegisterUrl"/>
        <title>Register</title><prepare/>
        <urlParams/>
        <position>100</position>
    </action>
</reference>
<reference name="footer_links2">
    <action method="addLink" translate="label title" module="catalog">
        <label>My Account</label><url helper="customer/getAccountUrl" />
        <title>My Account</title>
    </action>
</reference>

If not present please add it under the default handle under theme's customer.xml file