Forums / Templates, Stylesheets, Page Layout / My logo is not changing

My logo is not changing

Locked

Views: 1,527

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
11 Oct 2010, 11:29 AM
#1
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

My logo is not changing

Hi. I am trying to change my logo.
I uploaded the logo to my ftp. (Where my previous logo is kept)
I then changed the "header.php" file to encoporate my changes.

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', 'gamenet');
define('HEADER_LOGO_WIDTH', '800px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo+number.gif');

I then uploaded it yesterday. And it is still not changed. The original logo is still up.

note: There is only one copy of the header.php in the file.
under Includes > languages > english

11 Oct 2010, 12:29 PM
#2
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: My logo is not changing

Hi

Please add your logo inside the template image folder.

Have you done it?

Balaji
[email protected]

Balaji R

11 Oct 2010, 12:43 PM
#3
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

Where is the folder located?

11 Oct 2010, 1:01 PM
#4
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: My logo is not changing

Hi

The images folder is available includes/templates/<your template>/images

Wish this will help you.

Thanks

Balaji
[email protected]

Balaji R

11 Oct 2010, 2:47 PM
#5
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

ah yes. that is where i placed the file. my old file is still in there however. but the header is telling it to use the new one but it is still not working?

so very confused.

11 Oct 2010, 2:48 PM
#6
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

oh. i tried deleting it. my website reverted to the zencart logo, i then put the logo back in and it went back to normal. but my new logo is STILL not showing up

12 Oct 2010, 6:21 AM
#7
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: My logo is not changing

Hi

If you can provide the link for your website, I can check and help you.

Regards

Balaji R

12 Oct 2010, 7:27 AM
#8
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

gamenet.net.au

12 Oct 2010, 12:58 PM
#9
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: My logo is not changing

Hi

I see the logo on the site. Please clear your browser's cache.

Thanks

Balaji

Balaji R

12 Oct 2010, 3:09 PM
#10
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

no. That is my logo. I am trying to change the logo, the new logo has my 1300 number encorporated into it.

12 Oct 2010, 3:17 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: My logo is not changing

What happens if you rename the image:
define('HEADER_LOGO_IMAGE', 'logo1300.gif');

so that you are not using special characters in it? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Oct 2010, 4:10 PM
#12
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: My logo is not changing

Hi

I dont find an image named

http://gamenet.net.au/includes/templates/theme212/images/logo1300.gif

Also it will be better if you could check again whether you named the image correctly in the header file of template folder and not outside.

Thanks

Balaji R

12 Oct 2010, 4:29 PM
#13
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

This is driving me crazy. I was thinking the same thing Ajeh. However i changed it to logo1300.gif, added the picture, uploaded the files and all that. STILL nothing.
Balaji - I think u need to check that link again - also i think you misinterpreted what Ajeh was saying. :P

13 Oct 2010, 9:40 AM
#14
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

Any ideas?

13 Oct 2010, 1:19 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: My logo is not changing

Go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
HEADER_LOGO_IMAGE

Select Catalog and click search ...

What files have the define statement for that and what image is in the define statement?

Then, that define should be shown in the tpl_header.php to call that image ... this too should show ... is your template and override file using that define or is the image name hard coded?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Oct 2010, 7:47 AM
#16
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

Ajeh:

Go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
HEADER_LOGO_IMAGE

Select Catalog and click search ...

What files have the define statement for that and what image is in the define statement?

Then, that define should be shown in the tpl_header.php to call that image ... this too should show ... is your template and override file using that define or is the image name hard coded?

oh. They have not updated the files. however when i access them through ftp they seem to have been?

/home/gamenet/public_html/includes/languages/english/classic/header.php

Line #24 : define('HEADER_LOGO_IMAGE', 'logo.gif');

/home/gamenet/public_html/includes/languages/english/header.php

Line #24 : define('HEADER_LOGO_IMAGE', 'logo1300.gif');

/home/gamenet/public_html/includes/languages/english/theme212/header.php

Line #24 : define('HEADER_LOGO_IMAGE', 'logo1300.gif');

14 Oct 2010, 7:51 AM
#17
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

Okay. I have changed the files. however it now looks like this

/home/gamenet/public_html/includes/languages/classic/header.php

Line #24 : define('HEADER_LOGO_IMAGE', 'logo1300.gif');

/home/gamenet/public_html/includes/languages/english/classic/header.php

Line #24 : define('HEADER_LOGO_IMAGE', 'logo1300.gif');

/home/gamenet/public_html/includes/languages/english/header.php

Line #24 : define('HEADER_LOGO_IMAGE', 'logo1300.gif');

/home/gamenet/public_html/includes/languages/english/theme212/header.php

Line #24 : define('HEADER_LOGO_IMAGE', 'logo1300.gif');

All of the headers have been changed. but it still is not changing?

14 Oct 2010, 7:54 AM
#18
drbyte avatar

drbyte

Sensei

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

Re: My logo is not changing

Why don't you just change the contents of logo.gif and save having to edit any PHP files?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Oct 2010, 8:40 AM
#19
gamenet avatar

gamenet

Zen Follower

Join Date:
Apr 2010
Posts:
149
Plugin Contributions:
0

Re: My logo is not changing

............Thank you! it worked. never thought of that :S..........