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
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>
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