Zen Cart Logo
Forums / General Questions / More favicon issues

More favicon issues

Locked

Views: 3,107

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
4 Sep 2008, 11:18 PM
#1
purplediane avatar

purplediane

New Zenner

Join Date:
Sep 2008
Location:
San Diego, CA
Posts:
6
Plugin Contributions:
0

More favicon issues

My zen-cart is hosted on a Linux system (doh) and when I log in using ftp (filezilla) to my shop website, it shows me in /docs, which contains the folder for the zencart.

I uploaded a favicon.ico into the main zen-cart folder of my future webstore.

Internet Explorer finds the favicon but Firefox does not. I deleted all the private data except cookies and passwords, and deleted the old bookmark for the site. Still no luck. Then I copied the favicon into the /docs folder, but that didn't work either.

Firefox finds other favicons, such as the one for this website, so I am totally confused. :blink:

Anyone have any ideas what's going on?

Diane

4 Sep 2008, 11:39 PM
#2
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: More favicon issues

Hi Diane. You may want to look at this file:

includes/languages/english/meta_tags.php
or
includes/languages/english/your_template/meta_tags.php

and this code:

// favicon setting
// There is usually NO need to enable this unless you need to specify a path and/or a different filename
// define('FAVICON','favicon.ico');

5 Sep 2008, 12:38 AM
#3
purplediane avatar

purplediane

New Zenner

Join Date:
Sep 2008
Location:
San Diego, CA
Posts:
6
Plugin Contributions:
0

Re: More favicon issues

I un-commented the line to define FAVICON. It makes no difference to Firefox. If it wants a complete path, I'm not sure what to make it:
either
/var/www/domains/shop.mydomain.com/docs/zencart/favicon.ico
or
/docs/zencart/favicon.ico
???
Well, I tried both and neither worked in Firefox. Neither did /favicon.ico or /zencart/favicon.ico

And why would that make a difference when all the documentation about favicons just say to put the icon file in the main directory? I believe I've been successful at that, since IE finds it OK.

I have been doing a hard refresh and/or closing the browser, deleting private data, etc. :frusty:

Any more suggestions?
Diane

5 Sep 2008, 2:56 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,659
Plugin Contributions:
0

Re: More favicon issues

Some browsers will not pick up the favicon until you bookmark the site.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

5 Sep 2008, 4:16 AM
#5
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: More favicon issues

purplediane:

I un-commented the line to define FAVICON. It makes no difference to Firefox. If it wants a complete path, I'm not sure what to make it:
either

I have been doing a hard refresh and/or closing the browser, deleting private data, etc. :frusty:

Any more suggestions?
Diane

Some browsers don't like to pick up want you don't want.

Theirs more here then I can remember right now.... been a long day. To fix it, you can do a gif icon as will as the ico. this seams to let FF pick up the icon even if not bookmarked.

By default, browsers look for FAVICON in the root folder unless you tell them elsewhere.

So... in 'includes/languages/english/YOUR_TEMPLATE/meta_tags.php'

define('FAVICON2','includes/templates/YOUR_TEMPLATE/images/icons/icon.gif');
define('FAVICON', 'includes/templates/YOUR_TEMPLATE/images/icons/icon.ico');
```In 'includes/templates/YOUR_TEMPLATE/common/html_header.php
<link rel="icon" href="<?php echo FAVICON2; ?>" type="image/gif" /> <link rel="shortcut icon" href="<?php echo FAVICON2; ?>" type="image/gif" /> <link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" /> ```That fixed it for me, should work. Also, you can make the gif animate like the DHL icon....

Dave
Always forward thinking... Lost my mind!

5 Sep 2008, 5:28 AM
#6
purplediane avatar

purplediane

New Zenner

Join Date:
Sep 2008
Location:
San Diego, CA
Posts:
6
Plugin Contributions:
0

Re: More favicon issues

Ooh, thanks Dave for the information about using a gif file for an icon. I have saved that info for future reference.

However, I must apologize to readers of this thread. Apparently what I mainly lacked was patience :blush:

I went off to eat some dinner and when I came back, the favicon shows up in Firefox. Go figure. I thought I had closed all instances of the browser during my testing, but perhaps I overlooked that at the correct moment.

Thanks to everyone who responded. I think you all were right, as my meta_tags.php file is now back to having the favicon line commented out, and it seems to be working fine. :thumbsup:

Diane

10 Jan 2009, 11:51 AM
#7
cpaulson avatar

cpaulson

Zen Follower

Join Date:
Jul 2007
Posts:
124
Plugin Contributions:
0

Re: More favicon issues

I am also having problem getting my favicon to show in most browsers. It shows in Safari, but it will not show in IE, Netscape or Firefox. I have followed all the tips in this thread, but can't make those browsers see it. The result of adding the code suggested was that the browsers put the words // define('FAVICON','favicon.ico'); on my page, above the header. So I went in and deleted that statement from one or both of the documents. It was late last night and I tried so many things that I've forgotten if it was one or both. Anyway, that took the text off my page.

I downloaded and installed the latest versions of Firefox and Netscape. I couldn't find a download page for the mac version of IE.I cleared all caches, wiped private information and put duplicate favicons into the images/icons folder. Nothing works except in Safari.

I am using zen 1.3.7 on Mac OS10.4.11.
Here is my site:
http://www.store.stitchinthyme.com

IE messes up my header and nav box a bit, but that's another topic.

10 Jan 2009, 2:03 PM
#8
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: More favicon issues

I am also having problem getting my favicon to show in most browsers. It shows in Safari, but it will not show in IE, Netscape or Firefox.

i have FF version 3.0 and i see your favicon :smile:

10 Jan 2009, 2:23 PM
#9
cpaulson avatar

cpaulson

Zen Follower

Join Date:
Jul 2007
Posts:
124
Plugin Contributions:
0

Re: More favicon issues

Thanks for checking on it. I wonder why I can't see it. I just went to a PC laptop using windows vista and I don't see it there either. I've also had a couple friends tell me they don't see it either. I installed Firefox 3.0.5 last night, not sure which version I had before that.

10 Jan 2009, 2:40 PM
#10
cpaulson avatar

cpaulson

Zen Follower

Join Date:
Jul 2007
Posts:
124
Plugin Contributions:
0

Re: More favicon issues

Wahoo! I got it to show in firefox. I started playing around with the buttons at thte top of the browser. In the Images pulldown, there is a lin to find broken images. I don't know if that is what did it, but now it show. I will have to play with the other browsers and see if I can find something similar there.

I just checked the version of FF on the visa machine and it's ver.2. I will updater and see if that works there.