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

can you spare some wisdom for a header

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-09-2009, 02:39 PM
 
m38 m38 is offline
 

Member
  
Join Date: Jul 2009
Posts: 16
 

Exclamation can you spare some wisdom for a header

Ok, needless to say i'm frustrated and about to start cursing again like a drunken sailor. I've asked tech support and umm...after 6 hours of waiting on a answer, they decide to close the question without ANSWERING it...so a bit..grrr

My site is 99% done but I can't edit the header for my banner to show up. I've read this message board for a solid week...not counting the 17 hours I spent this weekend trying to figure out why the banner won't work. i've edited head.tpl, the main css file, uploaded banner to skin/images..the photo shows finally after 4 hours of upload errors (the picture is like 71k)..hardly a problem for my host. I see the xcart log and can take it out completely but it won't allow my banner...i've even changed the size to show the banner..and I get most times a outline of the banner...which tells me its not the banner but the frame I allowed for it.

This xcart isn't nearly as easy as they make it out to be..the pdf file gives you a general idea but hardly a trouble shooting guide. I'm no slouch when it comes to designing but good grief!! - Is it really needed all the tons of extra photos I didn't even install to clutter my images folder??

I could've designed 2 full ecomm sites with frontpage then this cart so far. I've never seen so much code cluttered together before.

Any help would be great as i'm about to get the rope out and hang from the highest tree.

Thanks
__________________
4.3.0
X-Cart GOLD
www.Plantindoors.com
Reply With Quote
  #2  
Old 08-09-2009, 02:58 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: can you spare some wisdom for a header

You need to edit skin1/customer/head.tpl
Also 4.2.x is CSS based so make sure your pic is inside the element you want to show it in
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 08-09-2009, 04:09 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: can you spare some wisdom for a header

What CFL said, but in a more concise format...

skin1/customer/head.tpl
Open that, near the top you should fine something along the lines of this:

<div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/logo.gif" alt="" /></a></div>

Make sure the img tag points to the correct one. If you dont see that, check the div as it may be in there.
Also, you may need to adjust the width, size, padding and if part of the logo is cut-off make sure that the div or any ones above it in the tree dont have
overflow: hidden
__________________
- Shane Munroe
Reply With Quote
  #4  
Old 08-09-2009, 04:13 PM
 
m38 m38 is offline
 

Member
  
Join Date: Jul 2009
Posts: 16
 

Default Re: can you spare some wisdom for a header

I edited the file for the 100th time but it still only shows the outline of the photo. Is there anyone of knows enough about this to write step by step instructions? - I've renamed the photo to show xlogo.jpg and it shows in the folder...heck, i'll even hire someone to walk me through the tweaks....anyone?
__________________
4.3.0
X-Cart GOLD
www.Plantindoors.com
Reply With Quote
  #5  
Old 08-09-2009, 04:16 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: can you spare some wisdom for a header

If your doing this on a site available via the net, you can pm me your website and I can tinker with it client side
__________________
- Shane Munroe
Reply With Quote
  #6  
Old 08-09-2009, 04:28 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: can you spare some wisdom for a header

Put your code in here - how do you call the image? If you can see the outline border of where the image should show then maybe something is wrong with the way you call the image. Spelling error maybe?
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 08-09-2009, 04:35 PM
 
m38 m38 is offline
 

Member
  
Join Date: Jul 2009
Posts: 16
 

Default Re: can you spare some wisdom for a header

The code I was using was :

<img src="{$ImagesDir}/xlogo.jpg"> xlogo being my banner, adding it to file skin1/customer/head.tpl. I didn't replace the whole code, I just inserted xlogo.jpg to replace the xcartlogo
__________________
4.3.0
X-Cart GOLD
www.Plantindoors.com
Reply With Quote
  #8  
Old 08-09-2009, 04:51 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: can you spare some wisdom for a header

Issue was 2 fold.

First, there was a slight mistake in closing the code prematurely and the second was case sensitivity on the file extension. It was looking for xlogo.jpg but the file he uploaded was xlogo.JPG
__________________
- Shane Munroe
Reply With Quote
  #9  
Old 08-09-2009, 05:56 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: can you spare some wisdom for a header

lol, the file name must be exact. Even the file extension. when in doubt copy and past the file name into your code.
__________________
xcart 5.1.2
Reply With Quote
  #10  
Old 08-10-2009, 12:06 PM
 
m38 m38 is offline
 

Member
  
Join Date: Jul 2009
Posts: 16
 

Default Re: can you spare some wisdom for a header

Thanks for the helps...hard to image hours of frustration all due because my logo was named like xlogo.JPG and I was only putting in xlogo.jpg in the code...Darn caps gave me fits!

All is well now..now for the next question..i'll post outside here but thanks guys on this problem!
__________________
4.3.0
X-Cart GOLD
www.Plantindoors.com
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 03:33 PM.

   

 
X-Cart forums © 2001-2020