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 home page header icon (https://forum.x-cart.com/showthread.php?t=37070)

Brett_H 02-21-2009 08:47 PM

Re: changing home page header icon
 
Ashley... I feel like a total dunce (and I just realized I'm asking questions in a forum for another version, sorry about that), I'm only a few hours into working with X-Cart after working with another store builder for the last year that was wayyyy different. So I appreciate you guys bearing with me.

I'm in the back end... under administration I chose "edit template" - under "browse templates" I click "head.tpl" and edit it as described above. I'm in the "customer folder", correct? This is bugging me... can't figure out what I'm doing wrong. At this point I'd be stoked if I got a red x in the header. :lol:

GEMaffair.com 05-28-2009 09:11 AM

Re: changing home page header icon
 
Ok, I have changed the customer/head.tpl and saved it and previewed it and it is showing the change in the "preview" but not on the live site. Is there a "publish" button somewhere or what am I doing wrong?

GEMaffair.com 05-28-2009 09:14 AM

Re: changing home page header icon
 
Right now, I have the logo in the customer/head.tpl pointing to an image hosted elsewhere. Can you someone tell me where to upload images in xcart please? Is it in the xcart admin somewhere, or do you have to use ftp?

cflsystems 05-28-2009 09:33 AM

Re: changing home page header icon
 
Use FTP. Upload site images to skin1/images directory
As for the image question above - if you make changes to your templates and don't see them in the store clean up the template cache
www.yourdomain.com/cleanup.php

GEMaffair.com 06-11-2009 06:23 AM

Re: changing home page header icon
 
yeah, that still does not work. Any other thoughts?

GEMaffair.com 06-11-2009 09:00 AM

Re: changing home page header icon
 
Here is a more detailed analysis:

Using my plesk access, I found this directory:

gemaffair.com/httpdocs/skin1/images and then searched for this file "xlogo.gif" and found it. I think this confirms that this is the images directory and image file for the xcart logo. I then uploaded my company logo to this directory and named it "Headerwph.GIF".

Next, I have gone into the following location in xcart admin:

skin1/customer/head.tpl in the admin of my xcart software and changed the following line of code from:

<img src="{$ImagesDir}/xlogo.gif" alt="" />

to

<img src="{$ImagesDir}/Headerwph.GIF" alt="" />

I then hit save.

When I preview this change in xcart admin, my logo shows up fine.

But when I view my site the xcart logo is there.

What am I doing wrong?

Michael


All times are GMT -8. The time now is 03:08 PM.

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