| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() This seems so stupid, but I can't figure out why this is happening. I edited tabs.tpl to make my own top menu, very simple html image links, but the results repeat the image links 3 times. help?
__________________
Dawn ![]() X-Cart Business 5.3.6.3 Mods: Qty input - Custom Mod Part numbers near title - Custom Mod Membership approval before ordering - Custom Mod Order Forms - Custom Mod Freight on Board - Custom Mod Catalog Order Form Call For Price Template: Crisp White skin Running on Windows |
|||||||
#2
|
|||||||
|
|||||||
![]() Dawn, I'm sure someone can help you better if you can provide us with a screenshot, URL, or even the code you have written in tabs.tpl and any other template file you have edited.
__________________
X-Cart Platinum 4.6.5 |
|||||||
#3
|
|||||||
|
|||||||
![]() tab.tpl
Code:
Thanks!
__________________
Dawn ![]() X-Cart Business 5.3.6.3 Mods: Qty input - Custom Mod Part numbers near title - Custom Mod Membership approval before ordering - Custom Mod Order Forms - Custom Mod Freight on Board - Custom Mod Catalog Order Form Call For Price Template: Crisp White skin Running on Windows |
|||||||
#4
|
|||||||
|
|||||||
![]() Glancing at the code I think the problem is you are not putting the image in quotes on the IMG SRC.
So, for example, try to replace it with this: Code:
Let me know if that fixes it!
__________________
X-Cart Platinum 4.6.5 |
|||||||
#5
|
|||||||
|
|||||||
![]() I don't have " the begining of the IMG SRC tag either, but I corrected all my opening and closes, even thought that isn't a problem normally
Code:
I really don't think the tab.tpl fiel is the issue, but I don't know what file is.
__________________
Dawn ![]() X-Cart Business 5.3.6.3 Mods: Qty input - Custom Mod Part numbers near title - Custom Mod Membership approval before ordering - Custom Mod Order Forms - Custom Mod Freight on Board - Custom Mod Catalog Order Form Call For Price Template: Crisp White skin Running on Windows |
|||||||
#6
|
|||||||
|
|||||||
![]() It's a little hard to post a screen shot because this issue stretches my store out, but here we go.
http://www.duffystric.com/screen1.jpg http://www.duffystric.com/screen2.jpg The speedbar repeats it's self 3 times. Any ideas?
__________________
Dawn ![]() X-Cart Business 5.3.6.3 Mods: Qty input - Custom Mod Part numbers near title - Custom Mod Membership approval before ordering - Custom Mod Order Forms - Custom Mod Freight on Board - Custom Mod Catalog Order Form Call For Price Template: Crisp White skin Running on Windows |
|||||||
#7
|
|||||||||
|
|||||||||
![]() The tab.tpl is called each time there is an item in the speedbar.
In your case you have 3 items, Home, Online Store, Contact Us and tab.tpl is being called each time and displaying all three each time. I hope this makes sense... I don't know a way to replace the tabs with images completely as they are dynamically generated by the speedbar settings. I expect most people use either css styled links (I do) or a generic background image that has the dynamic text applied over the top. hth
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#8
|
|||||||
|
|||||||
![]() That was it - thanks! I removed all but one item on the speedbar, even though the link isn't being used, and it works.
__________________
Dawn ![]() X-Cart Business 5.3.6.3 Mods: Qty input - Custom Mod Part numbers near title - Custom Mod Membership approval before ordering - Custom Mod Order Forms - Custom Mod Freight on Board - Custom Mod Catalog Order Form Call For Price Template: Crisp White skin Running on Windows |
|||||||
#9
|
|||||||||
|
|||||||||
![]() You could also create a new tpl and call that instead of the tab.tpl,
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#10
|
|||||||
|
|||||||
![]() I know that one of the X-Cart skin sets (fashion mosaic) uses code to call little icons next to a link. Basically, it's a code that says "if this is a link to X, then show this icon" and it displays it next to the link.
Anything is possible, but I reckon you'd be better off just coding your own tabs and ditch the XC code. - Mike
__________________
4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|