X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Changing the colour of the speedbar buttons (https://forum.x-cart.com/showthread.php?t=15988)

jerrycl 08-17-2005 10:27 AM

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.

balinor 08-17-2005 10:31 AM

Yep, those are indeed images. You can see which ones they are and see the layout by editing customer/tab.tpl

jerrycl 08-17-2005 10:33 AM

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.

balinor 08-17-2005 10:34 AM

Just comment out the include for customer/search.tpl in head.tpl.

jerrycl 08-17-2005 10:48 AM

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.

balinor 08-17-2005 10:49 AM

Then just substitute your label for the search include.

jerrycl 08-17-2005 11:00 AM

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.

balinor 08-17-2005 11:03 AM

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.

jerrycl 08-17-2005 11:29 AM

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.

balinor 08-17-2005 11:35 AM

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.


All times are GMT -8. The time now is 12:52 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.