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

Changing the colour of the speedbar buttons

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-17-2005, 10:27 AM
 
jerrycl jerrycl is offline
 

Member
  
Join Date: Aug 2005
Posts: 29
 

Default Changing the colour of the speedbar buttons

Obviously this has been done, but how?

I'm a newbie, changed the site background colour to suit my logo and the menu-box backgrounds and titles by changing the values in the CSS file - quite simple. But then I came to those speed bar buttons and it appears you cannot define their colour - or at least I can't see where to do it. They seem to be comprised of sliced images, though why this is I don't know.

Any help would be appreciated.
__________________
Jerry
IIS
xcart 4.0.14
VOIP, Networking and Wireless Gear
Reply With Quote
  #2  
Old 08-17-2005, 10:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Yep, those are indeed images. You can see which ones they are and see the layout by editing customer/tab.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-17-2005, 10:33 AM
 
jerrycl jerrycl is offline
 

Member
  
Join Date: Aug 2005
Posts: 29
 

Default

Thanks for the quick answer. Do you know if there is any quick way to get rid of the site search functions? - they do not seem to work too well.
__________________
Jerry
IIS
xcart 4.0.14
VOIP, Networking and Wireless Gear
Reply With Quote
  #4  
Old 08-17-2005, 10:34 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just comment out the include for customer/search.tpl in head.tpl.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-17-2005, 10:48 AM
 
jerrycl jerrycl is offline
 

Member
  
Join Date: Aug 2005
Posts: 29
 

Default

OK thanks for that. If I want to include a label with my registered business number on it where the search box used to be, how would I go about that? Sorry to ask all these questions, but you are saving me hours.
__________________
Jerry
IIS
xcart 4.0.14
VOIP, Networking and Wireless Gear
Reply With Quote
  #6  
Old 08-17-2005, 10:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Then just substitute your label for the search include.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 08-17-2005, 11:00 AM
 
jerrycl jerrycl is offline
 

Member
  
Join Date: Aug 2005
Posts: 29
 

Default

I can see in customer/search.tpl where the "Search" label is included.

<TD width="20"></TD>
<TD class="TopLabel">{$lng.lbl_search}:</TD>
<TD valign="middle">

I presume I have to make a short tpl file with this table in it and substitute my own $lng.lbl_busnumber and then include that in Head.tpl where the search box was.

But how do I make this label (like where are these labels stored) and where do I put it?

Sorry, I know nothing about this stuff.
__________________
Jerry
IIS
xcart 4.0.14
VOIP, Networking and Wireless Gear
Reply With Quote
  #8  
Old 08-17-2005, 11:03 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Hey Jerry...before you get too ahead of yourself, I would suggest reading the manual It will explain most things like Language variables, etc.

As for this particular question, simply open up head.tpl and replace this:

Code:
{ include file="customer/search.tpl" }

With whatever text or image you want to add for your label.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 08-17-2005, 11:29 AM
 
jerrycl jerrycl is offline
 

Member
  
Join Date: Aug 2005
Posts: 29
 

Default

Yeah, point taken. Was just wanting to get this site functioning at speed without putting too much effort into it - I'm not sure whether I will stick with this cart yet and didn't want to put weeks of effort into learning something I might not use.

Xcart seems terribly slow, even after doing all the suggested speed-up mods I could find here I'm still at 2-3 seconds delay after clicking menu button before the page loads. This is at 5am with zero server load and only two test-products loaded. I looked at some other xcart sites and realised that this appears to be the nature of the beast.

I don't know what other carts are around - this was recommended by my webhost, but the online shops I usually shop at are lightning-fast. Whereas, 1-2 seconds delay after a button click seems to be normal, even good, for xcart. Reading this forum, it seems people think a 5-10 second delay for a page to load is normal.

If my store is going to work there will have to be a pretty compelling reason for customers to go there - no one is going to surf it for fun.

Anyway, thanks for your help, I appreciate it. One thing xcart has got going for it is this forum which is a great source of information if you're trying to come to grips with this thing.
__________________
Jerry
IIS
xcart 4.0.14
VOIP, Networking and Wireless Gear
Reply With Quote
  #10  
Old 08-17-2005, 11:35 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Quote:
without putting too much effort into it

If you are looking for an 'out of the box' solution with minimal effort, X-Cart is probably not the best option for you. It requires a lot of time, effort and research to get it functioning the way you want. The beauty of it is, your options are unlimited.

As for the speed issue, there shouldn't be that kind of delay, even with a ton of products in your database. Some servers/hosts are better than others, and the majority of speed issues can be atributed to server setup, not X-Cart itself. Most of the sites I manage have no more than a 2 second delay between button click and page display.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 10:11 AM.

   

 
X-Cart forums © 2001-2020