?
Solved

Move Magento toplinks

Posted on 2012-08-22
5
Medium Priority
?
891 Views
Last Modified: 2012-08-28
Hi guys, I've implemented a mini cart into the header right side bar on my Magento website.
However, I now have a problem with toplinks activating the dropdown mini-cart when its clicked!

There are three links at the top: My account | My wishlist | My cart

For some reason when either of these links are clicked the activate the mini cart dropdown.
Is there a way for me to separate these links?

I would very much appreciate some advice on this one please....

Here's the code from xml file:

<reference name="header">
		
		<block type="page/template_links" name="top.links.custom" as="topLinksCustom">
			
			<block type="wishlist/links" name="wishlist_link"/>
            <action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
			
			<block type="checkout/links" name="checkout_cart_link">
                <action method="addCartLink"></action>
                <!--
				<action method="addCheckoutLink"></action>
				-->
            </block>
			<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>
		</block>
		
		<block type="directory/currency" name="top_currency" template="directory/currency.phtml"/>
		<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
		
		<reference name="top.bar">
            <action method="unsetChild"><alias>topSearch</alias></action>
        </reference>

		</reference>

Open in new window

0
Comment
Question by:rafique12
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:NetExpert_pl
ID: 38324530
Could you give a link to a test site instead of the code please?
0
 

Author Comment

by:rafique12
ID: 38324541
Sorry, I have it setup on my local host... Maybe a screen share?
0
 

Accepted Solution

by:
rafique12 earned 0 total points
ID: 38325443
I,ve found the solution. It was a simple CSS issue where the width of the mini cart layer was too wide meaning it overlapped the other links in the top-navigation bar!
0
 
LVL 4

Expert Comment

by:NetExpert_pl
ID: 38327053
That's great. Remember to close the question.
0
 

Author Closing Comment

by:rafique12
ID: 38340157
Thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

616 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question