Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Top links problem in version 1.0 - bug in html href
 
cbadoud
Jr. Member
 
Total Posts:  3
Joined:  2008-02-05
 

Here is how Magento writes the first and last top links:

<li class="first"><a href="href="http://shop.macrogram.ch/customer/account/"” title="My account” ></a></li>
<li class="last"><a href="href="http://shop.macrogram.ch/customer/account/login/"” title="Connexion" ></a></li>

Of course, these links don’t print in browser. Does anyone have this problem too?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

@cbadoud: please use layout files that came with 1.0 and update them to reflect your customizations

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
cbadoud
Jr. Member
 
Total Posts:  3
Joined:  2008-02-05
 

I’ve already done it (in [view]layout/page.xml, I replaced “page/html_toplinks” with “page/template_links"), but I think the problem come from [view]template/page/template/links.phtml.
Should I modify other layout files (my template perfectly works with version 0.9)?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Raymond Brigleb
Member
 
Avatar
Total Posts:  32
Joined:  2007-09-05
 

What’s really confusing me is the /content/app/design/frontend/default/default/layout/customer.xml file. This seems like the place to modify those links. However, when I try to build one like the examples that come with 1.0, I get an invisible link (no actual text content) as well. Here’s what I’ve been trying:

<action method="addLink" translate="label title” module="customer"><li/><a>about</a><label>About Us</label><title>About Us</title><prepare/><urlParams/></action>

I’m also trying this:

<action method="addLink" translate="label" module="customer"><li/><a>{{baseSecureUrl}}events</a><label>Events</label></action>

In both cases, nothing comes out! That is, I get a correct link, it just has no text in it. So it can’t be clicked!

 
Magento Community Magento Community
Magento Community
Magento Community
 
cbadoud
Jr. Member
 
Total Posts:  3
Joined:  2008-02-05
 

Thank you Raymond, it works for me! I built my template with version 0.8, then it was a nightmare to go to version 0.9, so I prefer to ask a question this time.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lucian303
Member
 
Avatar
Total Posts:  71
Joined:  2008-03-03
 

My template and layout / skin work fine in .9. I guess it’s back to almost square one with all mods. Astai viata.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53247 users|906 users currently online|107319 forum posts