Zen Cart Logo
Forums / General Questions / My HEADER_LOGO_IMAGE disapeared

My HEADER_LOGO_IMAGE disapeared

Locked

Views: 2,561

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Sep 2006, 9:17 PM
#1
flakrat avatar

flakrat

New Zenner

Join Date:
Apr 2005
Posts:
74
Plugin Contributions:
0

My HEADER_LOGO_IMAGE disapeared

Howdy,

I had my store up and running just fine. I did something, not sure what, and now my HEADER_LOGO_IMAGE is no longer displaying on the store pages.

It's defined as such in file:
includes/languages/english/MYTEMPLATE/header.php

define('HEADER_LOGO_IMAGE', '../images/email_logo.gif');

When I bring up my stores page, I only see the background-image (defined as):
./includes/templates/MYTEMPLATE/css/stylesheet_original.css

background-image: url(../images/header_bg.jpg);

If I bring up my store main page, and then do a view source on it, I don't see any reference to email_logo.gif (my HEADER_LOGO_IMAGE).

It's like I've done something that is causing Zen to not even include the HEADER_LOGO_IMAGE in the pages.

Any ideas on what I can do to troubleshoot this?

I don't see any errors in my web server logs, I've also tried defining HEADER_LOGO_IMAGE using a full link http://www.atconsse.com/images/email_logo.gif and it hasn't changed the behavior.

6 Sep 2006, 9:27 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: My HEADER_LOGO_IMAGE disapeared

try using NO path for the image name.

define('HEADER_LOGO_IMAGE', 'email_logo.gif');

and then put the image in your template images folder

6 Sep 2006, 9:34 PM
#3
flakrat avatar

flakrat

New Zenner

Join Date:
Apr 2005
Posts:
74
Plugin Contributions:
0

Re: My HEADER_LOGO_IMAGE disapeared

That did it.

I created a new directory ./includes/languages/english/MYTEMPLATE/images and copied the email_logo.gif into there.

I modified ./includes/languages/english/atconsse/header.php
and changed the HEADER_LOGO_IMAGE to
define('HEADER_LOGO_IMAGE', 'email_logo.gif');

Thanks, Now I'm wondering how the logo ever displayed before.

6 Sep 2006, 10:31 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: My HEADER_LOGO_IMAGE disapeared

HUH?

Images for your site design should go into the /includes/templates/YOURTEMPLATE/images folder

Product images go into /images

No images go into the languages folders (other than an icon for a flag denoting the language)

Your stylesheet references of "../images/blah.jpg" are actually referring to the includes/templates/YOURTEMPLATE/images folder ... and the HEADER_LOGO_IMAGE is normally being pulled from this same location.

If it's working differently, then you've made some significant changes to the normal logic of Zen Cart. That's not "wrong" but for future readers of this discussion it could be very confusing.

7 Sep 2006, 5:34 PM
#5
flakrat avatar

flakrat

New Zenner

Join Date:
Apr 2005
Posts:
74
Plugin Contributions:
0

Re: My HEADER_LOGO_IMAGE disapeared

I must have modified something then, because I do have the image file in ./includes/templates/MYTEMPLATE/images

Thanks for the quick responses.

8 Sep 2006, 2:48 PM
#6
notset4life avatar

notset4life

Zen Follower

Join Date:
Sep 2004
Posts:
177
Plugin Contributions:
0

Re: My HEADER_LOGO_IMAGE disapeared

I just upgraded to 1.3.5 Looks like most went well except for a few things

  1. I normally remove the LOGO and just use header_bg across the top. After the upgrade, the logo reappeared over header_bg. I dont remember how to fix that...I want to remove reference to logo.gif

  2. The classic template is 3 columns and centered. As soon as a user click create account, or goes to checkout, it becomes a 2 column laying filling the entire screen. How do I fix that too?

thanks