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

edit xcart logo from head.tpl doesn't work

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-19-2009, 07:42 AM
 
Christofer Christofer is offline
 

eXpert
  
Join Date: Apr 2009
Location: Thessaloniki, Greece
Posts: 202
 

Default 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?
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql)
Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server
Modules : X-Offer & X-Aom & One page checkout
Product tabs & Product downloads & many more
Reply With Quote
  #2  
Old 04-19-2009, 07:52 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 04-19-2009, 08:26 AM
 
Christofer Christofer is offline
 

eXpert
  
Join Date: Apr 2009
Location: Thessaloniki, Greece
Posts: 202
 

Default 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
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql)
Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server
Modules : X-Offer & X-Aom & One page checkout
Product tabs & Product downloads & many more
Reply With Quote
  #4  
Old 04-19-2009, 08:33 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #5  
Old 04-19-2009, 08:35 AM
 
Christofer Christofer is offline
 

eXpert
  
Join Date: Apr 2009
Location: Thessaloniki, Greece
Posts: 202
 

Default 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..
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql)
Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server
Modules : X-Offer & X-Aom & One page checkout
Product tabs & Product downloads & many more
Reply With Quote
  #6  
Old 04-19-2009, 08:55 AM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

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

skin1/customer/head.tpl
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote

The following user thanks Ene for this useful post:
Christofer (04-19-2009)
  #7  
Old 06-05-2010, 12:43 AM
 
goldenberg goldenberg is offline
 

Newbie
  
Join Date: Jan 2010
Posts: 1
 

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

how do I get to the "skin1" directory?
I can not see it...
__________________
X-Cart Gold v. 4.3.0
Reply With Quote
  #8  
Old 06-13-2010, 03:58 PM
 
Hydrox Hydrox is offline
 

Newbie
  
Join Date: May 2010
Posts: 6
 

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

skin1 is in the root. unless you haven't run install.php yet...
__________________
Newest Version Gold
Reply With Quote
  #9  
Old 06-14-2010, 07:15 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default 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.
__________________
X-Cart 4.3
Joomla
Among other things
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 11:04 AM.

   

 
X-Cart forums © 2001-2020