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)
-   -   edit xcart logo from head.tpl doesn't work (https://forum.x-cart.com/showthread.php?t=47032)

Christofer 04-19-2009 07:42 AM

edit xcart logo from head.tpl doesn't work
 
I changed the skin1/head.tpl to put my logo, but it keeps showing the default logo, even if i regenerated the cache and images. I have to change it from somewhere else?

carpeperdiem 04-19-2009 07:52 AM

Re: edit xcart logo from head.tpl doesn't work
 
most likely your browser cache... better yet: RENAME the file in the template (and image). This will avoid any image caching issues.

Christofer 04-19-2009 08:26 AM

Re: edit xcart logo from head.tpl doesn't work
 
i already renamed it, it was the first i did. After i saw that the change wasn't seen on site, i changed my logo name to xlogo.gif, uploaded it and appeared, but this is not a solution

carpeperdiem 04-19-2009 08:33 AM

Re: edit xcart logo from head.tpl doesn't work
 
Quote:

Originally Posted by Christofer
After i saw that the change wasn't seen on site, i changed my logo name to xlogo.gif, uploaded it and appeared, but this is not a solution


Of course it's THE solution.
Caching can occur locally (your computer), from your isp, from any number of places between your server and your customer's eyes. So SIMPLY rename the elements.

The sure thing is to rename the logo to YOURCOMPANYNAME_logo_widthxsize.gif, rename the image in the template file, upload the image, and move on.

PS -- this issue has bitten 1000's of newbies over the years - you're not the first, nor the last. Frequently, ISPs cache content - so the ONLY workaround is to rename.

Christofer 04-19-2009 08:35 AM

Re: edit xcart logo from head.tpl doesn't work
 
no, you misunderstand. I told it's not the solution to upload my logo as xlogo.gif. I know that the solution is to rename, i just wanted to be sure that i don't have to make that change anywhere else except the head.tpl..

Ene 04-19-2009 08:55 AM

Re: edit xcart logo from head.tpl doesn't work
 
skin1/customer/head.tpl

goldenberg 06-05-2010 12:43 AM

Re: edit xcart logo from head.tpl doesn't work
 
how do I get to the "skin1" directory?
I can not see it...

Hydrox 06-13-2010 03:58 PM

Re: edit xcart logo from head.tpl doesn't work
 
skin1 is in the root. unless you haven't run install.php yet...

minfinger 06-14-2010 07:15 PM

Re: edit xcart logo from head.tpl doesn't work
 
Quote:

Originally Posted by goldenberg
how do I get to the "skin1" directory?
I can not see it...

You can edit the TPLs in the Skin1 directory by using FTP to download them or through the Templates link in the Admin section.

As far as doing what you want to do, I'd recommend you use an AJAX Script like I did on my clients site. This script allows you to do many different things, such as display many high quality JPGs in series so it looks like an animation. You can also display one or multiple Flash files.

http://littlepuppiesonline.msidesigns.com

Go to this post and review my instructions...
http://forum.x-cart.com/showpost.php?p=288230&postcount=12

The first post contains all of the files you need.
http://forum.x-cart.com/showthread.php?t=46098

I only used 1 image in the file site, because the client didn't want the animations anymore. However I plan to ticker with a nice Flash file eventually.

One thing I did do since I only used 1 image was modify the tickercontent.txt file to only contain one link.

I haven't tried yet, but I'd bet you could make a JPG Header with image mapping for buttons and such.


All times are GMT -8. The time now is 01:32 AM.

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