| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Speed Bar: Get rid of quote signs | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello to Everyone!
I had a problem lately with speed bar text display. It's including the text of the button in quotes like: "Contact Us" or "About Us"... How do I get rid of this "" signs? thank you for you time!
__________________
- X-Cart Gold v4.1.9 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hmm odd...
Have you tried going into admin and looking at the speed bar page (admin/speed_bar.php). Do they have quotes or html-encoded wrapping surrounding the link titles in there? If you have modified the link yourself outside of x-cart then the .tpl to look at is skin1/customer/top_menu.tpl ... And this is the original 4.1.9 stock code for the speed bar that affects that point... <td valign="top">{include file="customer/tab.tpl" tab_title="<a href=\"`$speed_bar[sb].link`\">`$speed_bar[sb].title`</a>"}</td> If the latter is involved then you may have added an extra " by accident around the <a href=\" part. Not sure if this helps & Remember to back up. Regards, Doms
__________________
Doms kube v4.1.9 |
|||||||||
#3
|
|||||||
|
|||||||
![]() everything is clean, and still confused...
you know, this weird quote signs aren't even inside the link.... only the text is linkable.... any other ideas why it could be so? pleeeaaassssse.
__________________
- X-Cart Gold v4.1.9 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Can you show us the resulting source from your site (directly from your browser), please. Something like this (include all TDs pertaining to the one link say, Contact Us link)...
<td class="TabLeftSide"><img src="/skin1/images/spacer.gif" class="TabSide" alt="" /></td> <td class="Tab"><a href="help.php?section=contactus&mode=update"> Contact Us</a></td> <td class="TabRightSide"><img src="/skin1/images/spacer.gif" class="TabSide" alt="" /></td> Also have you modified the cart in any way? Have you purchased a skin, for example? Or a URL modifier? Regards, Doms
__________________
Doms kube v4.1.9 |
|||||||||
#5
|
|||||||
|
|||||||
![]() Yes I modified it but tryied to be carefull. I'm transforming the code into a table-less layout design.
So, here is the part of html generated for speed_bar Code:
This is from top_menu.tpl Code:
and this is from tab.tpl Code:
__________________
- X-Cart Gold v4.1.9 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Ah okay you haven't escaped the "" from parsing. As the link is going through to customer/tab.tpl as $tab_title...
where you have class="speed" it should be class=\"speed\" Hope this helps. Regards, Doms
__________________
Doms kube v4.1.9 |
|||||||||
#7
|
|||||||
|
|||||||
![]() Thank you soo much! So much effort lost.... but I'm not very familiar with x-cart!
Thanks one again! It was the unescaped "" ![]()
__________________
- X-Cart Gold v4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|