Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Tabs

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-19-2006, 11:50 AM
 
Dawn Howard Dawn Howard is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 229
 

Default Tabs

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
Reply With Quote
  #2  
Old 05-19-2006, 12:07 PM
 
salsabeel salsabeel is offline
 

Senior Member
  
Join Date: Jan 2004
Posts: 132
 

Default

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
Reply With Quote
  #3  
Old 05-19-2006, 12:19 PM
 
Dawn Howard Dawn Howard is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 229
 

Default

tab.tpl


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
Reply With Quote
  #4  
Old 05-19-2006, 12:22 PM
 
salsabeel salsabeel is offline
 

Senior Member
  
Join Date: Jan 2004
Posts: 132
 

Default

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
Reply With Quote
  #5  
Old 05-19-2006, 12:30 PM
 
Dawn Howard Dawn Howard is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 229
 

Default

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
Reply With Quote
  #6  
Old 05-22-2006, 07:26 AM
 
Dawn Howard Dawn Howard is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 229
 

Default

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
Reply With Quote
  #7  
Old 05-22-2006, 10:52 PM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default

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!
Reply With Quote
  #8  
Old 05-23-2006, 05:30 AM
 
Dawn Howard Dawn Howard is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 229
 

Default

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
Reply With Quote
  #9  
Old 05-23-2006, 06:17 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default

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!
Reply With Quote
  #10  
Old 05-23-2006, 01:35 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:15 PM.

   

 
X-Cart forums © 2001-2020