Questions tagged [toplinks]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0
votes
1answer
98 views

Adding Facebook button to top links Magento

I just haven't been able to get this after reading many examples. I'm trying to add a facebook login button to the top links. I can get thew block to show up all over the place but not in the top ...
2
votes
2answers
5k views

Magento 2 - Top link position

I was working with the layout xml for the top links. My code is in my custom module default.xml: <?xml version="1.0"?> <body> <referenceBlock name="header.links"> <...
2
votes
1answer
138 views

Magento Top Links Login class disappears randomly!

So I have slightly modified the customer.xml file to add classes to the top links, so I could add font awesome icons to them. The issue I am having is for some reason the login class disappears if I ...
1
vote
1answer
7k views

Magento 2: Issue while add custom top links in header

I am trying to add custom top link via custom module. File /app/code/<VendorName>/Inquiry/view/frontend/layout/default.xml If I used <referenceBlock name="header.links"> then its working ...
0
votes
2answers
2k views

remove My account and Logout links from some phtml pages

i have to remove "My account" & "Log out" links from some phtml pages. for removing my account, i am using following code : <marketplace_marketplaceaccount_myproductslist> <reference ...
1
vote
2answers
29 views

top mycart link layout

I'm using magento 1.9 with a custom theme, I didn't build it, I inherited it and its a bit of a mess, but at least functional. My question is There is no space between 'my cart and 'checkout' What ...
1
vote
1answer
90 views

how to remove top links from some .phtml pages

visit the link : http://2.kidsdial.com/ on top right you can see : "My account, My wishlist...etc" I want to hide these links from some .phtml pages. for example from this page : http://2.kidsdial....
0
votes
3answers
547 views

Extend Mage_Sales_Helper_Data doesn't work

I would like to add a function in Mage_Sales_Helper_Data without editing or copy of the original file. So I try to extend it, but this code doesn't work I have created a config.xml in this folder app\...
1
vote
1answer
126 views

aParams does not show class in anchor

I want to add a top link and I do this by the following in local.xml: <reference name="top.links"> <action method="addLink" translate="label title"> <label>...
1
vote
1answer
156 views

Move top links to left column with CSS only

Is it possible to move the top links in user menu from the right hand column, to the left column purely with CSS? My theme has it by default in the right column, but the design needs it to be in the ...
0
votes
1answer
74 views

aligning icons in top_links.phtml

I have a problem with aligning the content of my top_links.phtml Using the Ultimo theme, I have added flags to the store switcher using the following code: <?php /** * Language switcher template ...
0
votes
1answer
1k views

Change Header TEXT Links for IMAGE LINKS (for 'My Account', 'My Wishlist', 'My Cart', 'Log In', Log Out')

I am using Magento 1.8.1, and I couldn't find any solution to replace the text links 'My Account', 'My Wishlist', 'My Cart', 'Log In', Log Out' for icons/image links for my Mobile responsive version. ...
0
votes
3answers
303 views

Remove top link by title not by url in xml

I've got 2 top links with the same url. I need to remove one of them on a specific handle. Removing by url will exclude both of them. Is there a xml solution to this? Like removing by title. ...
2
votes
2answers
784 views

How to change the url of checkout in toplink

I need to change the url that the checkout link in top links is pointing to. At the moment it point to /checkout but i need it to point to /checkout/onepage. normally the redirect it automatic but i ...
2
votes
2answers
1k views

How to hide top links from customer groups

Is it possible to hide certain top links depending on the customer group? As we have anew feature which we have added a link to in the top link but it is only available to certain customers. We have ...
1
vote
0answers
88 views

top links css not showing in Magento [closed]

I am using magento 1.8.0. I have added new toplink in header. I have added following code in customer.xml file of my theme : <default> <reference name="top.links"> <action ...
1
vote
1answer
281 views

How can I change the persistence message that shows when a customer logs out?

I am trying to change the persistence message that shows in the header when a customer logs out. (Not Mr Foo?) I've tried changing it via translation file: "Not %s?","Log In / Register" I've also ...
1
vote
1answer
154 views

Turn Magento Footer Links into togglable List for Mobile Devices [closed]

Lets assume this is my footer link markup: <div class="links"> <div id="links1-title">Links 1</div> <ul id="links1-content"> <li>xyz</li> <li>xyz&...
0
votes
1answer
576 views

Changing the link location in top links

I want to change my checkout link in the top links on my magento site to go to the basket instead of the checkout process. I have found ways of just removing the links via XML files but no document ...
0
votes
1answer
902 views

top links from footer to header, not function

hi i have a magento withe the theme trego, by default this theme have the toplinks in footer , but i want also in header, after copy and paste the line <?php echo $this->getChildHtml(‘topLinks’...
1
vote
1answer
955 views

how to add newsletter link page to toplink

I want to add newsletter link to my top link block like first link. I think that it can works adding some string in layout.xml files. I've tried to add this code into customer.xml but the newsletter ...
1
vote
1answer
264 views

TopLinks Do not show up

the TopLinks navigation does not show up at all in my template. in page.xml I have <block type="page/template_links" name="top.links" as="topLinks"/> in block <block type="page/...
0
votes
0answers
357 views

Copy the toplink from the footer to the header Magento

I have a template with the toplinks (My Account, My Wishlist, My Cart, Checkout, Log In ) in footer by default but I want also compare in header. The theme is "trego" (please view) I pasted <?...
2
votes
0answers
1k views

Category Menu Navigation in top.links

I have searched high and low for an answer on this but have not been able to come up with the solution I am looking for. I am hoping maybe someone here can point me in the right direction. I have a ...
1
vote
1answer
209 views

Adding a top link

I am wanting to add a link at the top beside the My Account link. As I had said in a previous post, I took this site over from another developer and not sure what if any customization he had done, so ...
1
vote
1answer
103 views

Add links to top links navigation

I'm studying to get FE certification and I'm trying to add a link to top.links block adding this code to local.xml: <action method="addLink" block="top.links"> <label>shop</...
0
votes
1answer
741 views

How to move search box in-line with top links

Hoping you can help me with an item. Attached are two screenshots. Number 1 My current header Number 2 - My desired header I am still on a Magento 1.3.1 set up. (I know). Does anyone have a fix?
0
votes
2answers
2k views

How do add a class to the Wishlist Link in the Top Menu?

I want to add a class to the wishlist link in the top menu. In my app/design/frontend/default/abcd/layout/wishlist.xml, I have a reference: <reference name="top.links"> <block type="...
0
votes
2answers
2k views

how to update top.links and other magento blocks without refresh page

how can we update value of mycart on top.links with out refresh magento page on add to cart event <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.2.min.js" ></...
2
votes
2answers
1k views

Remove category(Top menu) for specific customer or customer group

I m using magento 1.9.0.1 to remove cateogroy from frontend top menu for specific category for specific customer or customer group. I m using below code for testing but it not work /frontend/default/...
0
votes
1answer
2k views

Get topLinks on page

I want to load the topLinks on a page and use this code: echo $this->getChildHtml('topLinks'); But this does not work. How can I load the topLinks? Thanks
0
votes
1answer
564 views

remove a top link from an handler

I need to remove this link only from a custom handle. The handle is working, but I cannot find the right syntax to remove the link, maybe removeLinkByUrl or byName. <reference name="top.links">&...
1
vote
4answers
4k views

Add A Custom CSS Class To Main Menu Link

Is their a way to add a custom class to one link within the main navigation? For example I would like the category "SALE" to be coloured red and be bold. Is this possible? Many Thanks
1
vote
4answers
2k views

Magento seo question. Nofollow on top links like cart/login?

Magento seo question. Nofollow on top links like cart/login? While reading up on seo I thought to add no follows to default links that exist on every page. Cart. Login. Checkout. TC. Faq. When ...
0
votes
1answer
2k views

how to add icon instead of text in magento top links My Account My Wishlist My Cart Checkout Log In

i'm working with Magento ver. 1.9.0.1 and magento boilerplate theme. i want to change the top link text with icons.but unable to find the file. Here is the code inside my app/code/core/Mage/Checkout/...
1
vote
1answer
695 views

Add CMS page links into Nav menu using local.xml

I have been trying to add cms page links into the Main navigation using the local.xml file. I tried the following, however this references the top links instead of the main nav. <reference name="...
0
votes
1answer
337 views

Is there a way of adding a link to a Product Page to Top Navigation?

I'm very new to Magento, so this might be VERY basic... I've read about adding links to CMS pages in the Navigation Bar http://www.magentocommerce.com/knowledge-base/entry/adding-page-links-in-the-...
2
votes
1answer
332 views

Is there any way of changing 'View All Products' in Top Navigation?

I'm very new to Magento, so this might be VERY basic... Using the demo data provided by Magento, the Top Navigation bar includes "Men", "Accessories", "Home & Decor" etc. Each heading has ...
1
vote
1answer
726 views

aligning magento top links left and right

I have added additional static links in magento top link beside checkout login etc. Default welcome, my account etc links are left aligned, and i want my additional links to be right aligned. I am ...
1
vote
0answers
135 views

Including top links(login/logout sign up under Account as dropdown select values) [closed]

subject :—- Including top links(login/logout sign up under Account as dropdown select values) I want to add login signup and login/out options inside account i.e account as dropdown menu where login ,...
1
vote
1answer
1k views

how to link to category page from phtml?

I have a category page called "team", which is nested in my menu structure. How can I link to that page and url, from within a phtml page elsewhere? I am of course wanting it to be dynamic. For ...
1
vote
1answer
656 views

How to add dynamic link to top-links?

For my custom module i need to add one top-menu to homepage. Path may change according to the value given in configuration section. How can i add dynamic link to the top-menu item.Please help
0
votes
3answers
3k views

How to get current user's name in layout xml file?

I want to add a top.links that shows user's name instead of "My Account". In the old way, I've done by: Remove the line which add My Account link in customer.xml (usually in default handler) In page/...
4
votes
4answers
3k views

Finding out layout handles being evaluated for a page

I am working on a project where I want to display few links on left side of top bar at Home page, as shown below. To do this i created a new block with name left.top.links very similar to Magento's ...
1
vote
1answer
255 views

Conditionally hiding and showing block and links

I am working on an application for which i have two types of user in Magento system. Each user can login and reach to their Dashboard. On the user Dashboard depending on what kind of user is logged in,...
4
votes
4answers
10k views

Add target to new link on toplinks

I add new link to top links using <block type="page/template_links" name="top.links" as="topLinks"> <action method="addLink" translate="label title"> <label>Blog<...
4
votes
4answers
42k views

Add new links to top links in Magento 1.9

It's pretty easy to add some types of links to top menu using this method: http://www.magentocommerce.com/knowledge-base/entry/adding-page-links-in-the-navigation-bar But I cannot figure out how to ...
2
votes
1answer
809 views

Get store configuration variable for addLink in local.xml

I'm am using the addLink method of Mage_Page_Block_Template_Links in my local.xml, which uses links.phtml as a template. Is there some way of passing links.phtml the store email/phone addresses which ...
2
votes
0answers
227 views

Top links added is showing twice? [closed]

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="...
0
votes
1answer
3k views

Change Top Links Text after Login

I want to change the text of My account top links. When user is not logged in, I need to display the top link My Account as Register. Once a user is logged in, I want to change that text to from ...