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

Removing X-Cart Logo and Internal Server Error

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-28-2006, 12:40 PM
 
Tess Tess is offline
 

Newbie
  
Join Date: Sep 2006
Posts: 8
 

Default Removing X-Cart Logo and Internal Server Error

Hello,

I thought piggybacking on another post wasn't such a good idea after all, so I've started a new thread. Hope that's okay with everyone.

I'm trying to remove the X-Cart logo. I've tried removing the following line from head.tpl

<a href="{$http_location}/"><img src="{$ImagesDir}/xlogo.gif" width="244" height="67" alt="" /></a>

I get a 500 internal server error. I'm also tried replacing the xlogo.gif with another .gif image but still get the same error. What am I doing wrong?

Thanks!
__________________
X-Cart 4.1.3
Reply With Quote
  #2  
Old 09-28-2006, 01:13 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Removing X-Cart Logo and Internal Server Error

What software/method are you using to edit head.tpl?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-28-2006, 06:35 PM
 
Tess Tess is offline
 

Newbie
  
Join Date: Sep 2006
Posts: 8
 

Default Re: Removing X-Cart Logo and Internal Server Error

Umm...I just called up the head.tpl in Edit templates, erased the line I mentioned and hit "save" in the 'Edit File' area of Edit templates.

__________________
X-Cart 4.1.3
Reply With Quote
  #4  
Old 09-28-2006, 08:58 PM
 
carpeperdiem carpeperdiem is offline
 

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

Default Re: Removing X-Cart Logo and Internal Server Error

Ah... the template editor...

Have you considered using a "real" FTP client with a built in (or not built in) text editor?

try this:

1. restore your file to its pre-edited state.
2. do the same edit via FTP client/text editor

works now, right?

I've never had any success with the template editor built in. So I never went back. Using the FTP client may be an extra step, but worth it! Good luck.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #5  
Old 09-29-2006, 02:41 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Removing X-Cart Logo and Internal Server Error

Hmmm...it may be the template editor, I have never had a problem with it. Try the solution above and see if it fixes things. If so, time to open a ticket with X-Cart
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 09-29-2006, 03:22 AM
 
Tess Tess is offline
 

Newbie
  
Join Date: Sep 2006
Posts: 8
 

Default Re: Removing X-Cart Logo and Internal Server Error

Thanks Balinor and Carpeperdiem for your responses.

I tried your suggestion Carpeperdiem and it worked! The X-Cart logo disappeared.

However, now I've got another problem. I tried to put my own logo on. I reset the template and tried simply replacing xlogo.gif with mylogoname.gif. That didn't work. The X-Cart logo still remained.

Then after I did a search of the forum, I decided to change my logo name to xlogo.gif before uploading it. This worked, but my logo dimensions stayed the same as that of the original xlogo image, so my logo looks all scrunched up. I changed the height and width attributes in head.tpl, but it's still the same.

How can I change the dimensions of my logo? Also, is it possible to save my logo as something other than xlogo.gif?

I thought it'd be easy to change the logo, but it's turning out to be quite a chore!
__________________
X-Cart 4.1.3
Reply With Quote
  #7  
Old 09-29-2006, 03:24 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Removing X-Cart Logo and Internal Server Error

Your templates may be caching themselves. After you replace the logo name with your logo and the dimensions with your dimensions, clear out the templates_c directory and refresh your browser a few times. You should see the change take place.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 09-29-2006, 04:45 AM
 
carpeperdiem carpeperdiem is offline
 

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

Default Re: Removing X-Cart Logo and Internal Server Error

There's a fast way to cleanup your template cache:

www.yourdomain.com/<xcart-path-optional>/cleanup.php

note: <xcart-path-optional> - only if your store is NOT installed at root...

ALSO -- your browser may be caching... wipe your browser cache and restart.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #9  
Old 09-29-2006, 03:10 PM
 
Tess Tess is offline
 

Newbie
  
Join Date: Sep 2006
Posts: 8
 

Default Re: Removing X-Cart Logo and Internal Server Error

My logo is in place now . Thanks to you both!
__________________
X-Cart 4.1.3
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 12:04 AM.

   

 
X-Cart forums © 2001-2020