![]() |
changing home page header icon
how do i get rid of the XCART image at the top of my cart? i want it to be the image of my choice not a shopping cart etc.
|
Re: changing home page header icon
First back up head.tpl.
Open head.tpl in your skin directory (probably skin1). Find this line at the top on line 4. <td class="HeadLogo"><a href="{$http_location}/"><img src="{$ImagesDir}/xlogo.gif" width="244" height="67" alt="" /></a></td> Change xlogo.gif to whatever you have your logo named. Save the file. Upload head.tpl to your skin directory and you logo to skinDir/images |
Re: changing home page header icon
Thanks Ashley
|
Re: changing home page header icon
I tried putting a different gif in the place of xlogo.gif and also logo_gold.gif because this looked more like what was showing by looking at thumbnails of all the images. I did not change the name of the file in head.tpl because i used the same name for the new gif. This did not work.
|
Re: changing home page header icon
finally figured out what i was doing wrong. it is the skin1 folder that is used by the cart. i had put the new images in skin1_original. i did not understand that this is just a repositiry for original unchanged files. it is this sort of basic information that would be grat to have in a "manual".
|
Re: changing home page header icon
|
Re: changing home page header icon
Quote:
Ashley, Changing the logo in head.tpl is the first thing I've tried to do (after entering basic company info) in my newly purchased x-cart store (which was installed by Qualiteam). I'm having trouble. lol I've uploaded the logo gif i want to use via FTP to xcart/skin1_original/images. Then (after I uploaded a patch to allow me to change templates) I changed the image source in the line you described above in the "edit file" window inside my control panel. Then I saved it. Nothing changed on the front end. Infact, I've checked the properties of the x-cart logo that's still in the header of my storefront and it still shows xlogo.gif I've also tried finding help in the XCart manual to no avail. |
Re: changing home page header icon
Wrong spot - it goes in skin1/images, not skin1_original. the original folder is a backup.
|
Re: changing home page header icon
Quote:
I tried that also... I don't see a folder for images under xcart/skin1 Here is a screen shot of what I see in my FTP. http://img5.imageshack.us/my.php?image=37134421.jpg Regardless of where I'm putting the image, shouldn't my store front show the new logo when I check the page source since I changed the template? I must be doing something wrong there as well. Thanks for any help. |
Re: changing home page header icon
everything for 4.2 is in the customer folder. so you will ahve to change customer/head.tpl
|
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: |
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?
|
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?
|
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 |
Re: changing home page header icon
yeah, that still does not work. Any other thoughts?
|
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:10 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.