Zen Cart Logo
Forums / General Questions / Favicon IE9

Favicon IE9

Views: 1,519

Results 1 to 10 of 10
9 Oct 2012, 8:47 AM
#1
pretty_dumb avatar

pretty_dumb

New Zenner

Join Date:
Oct 2012
Posts:
38
Plugin Contributions:
0

Favicon IE9

Hi,

I have looked at all the relevant help files and uploaded my favicon in the relevant way to be compatible with IE8, i.e has 4 images and checked it all on this site: http://www.html-kit.com/favicon/validator/

Obviously its not working on IE9 but other people assure it is working on there computers. I would like to put the relevant code in but I am at a loss as to where and what to change..

Problem:
This page has a valid favicon.ico but it does not use a favicon link tag (<link rel="shortcut icon" ...> or <link rel="icon" ...>). Although this is not a problem, the favicon link tag is likely to be more compatible with upcoming browser versions.

Well where? Some people say here: index.template.php, some talk about the index.html files, others refer to the meta tags script which needs to be changed from default...

Can someone clarify what to change and where please? Getting different messages from different sources and its not helping.

Thanks.

9 Oct 2012, 8:54 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Favicon IE9

Just upload your favicon.ico image file to the root of your shop and it is taken care of

9 Oct 2012, 9:00 AM
#3
pretty_dumb avatar

pretty_dumb

New Zenner

Join Date:
Oct 2012
Posts:
38
Plugin Contributions:
0

Re: Favicon IE9

I have done that but it wont appear for me. It seems it will for everyone else. I try and clear the cache on this machine and it goes into revolt, I have to run task manager and close rundll32 before it overloads and crashes the whole machine, its been like that since i bought it (another common problem judging by google searches that nobody seems able to resolve online). It was initially why i upgraded to IE9 but that made no difference. You dont delete the cache on this machine, even via cmd or control panel, 'delete browsing history' will run indefinately. I am aware this could well be why I cant see the favicon but i thought I would define the path just in case that would help.

9 Oct 2012, 9:01 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Favicon IE9

It is already defined

9 Oct 2012, 9:04 AM
#5
pretty_dumb avatar

pretty_dumb

New Zenner

Join Date:
Oct 2012
Posts:
38
Plugin Contributions:
0

Re: Favicon IE9

Thanks for helping, erm... is this wrong then?

This page has a valid favicon.ico but it does not use a favicon link tag (<link rel="shortcut icon" ...> or <link rel="icon" ...>). Although this is not a problem, the favicon link tag is likely to be more compatible with upcoming browser versions.

I take it writing the link tag in the right place is not going to help?

9 Oct 2012, 9:18 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Favicon IE9

It is defined as

<?php if (defined('FAVICON')) { ?>
<link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<?php } //endif FAVICON ?>
9 Oct 2012, 9:26 AM
#7
pretty_dumb avatar

pretty_dumb

New Zenner

Join Date:
Oct 2012
Posts:
38
Plugin Contributions:
0

Re: Favicon IE9

I feel I should thank you...but I have only had zen cart a week. :lookaroun I do try and do it all myself but it does take me a long time playing 'find the file'.

If you could just be kind enough to point me to the right file to alter and the code to pop in there I would be very grateful. As my name suggests, when it comes to programming i am afraid i am pretty dumb.

Thanks though.

9 Oct 2012, 10:09 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Favicon IE9

The file is at /includes/templates/template_default/common/html_header.php

But that code already exists in that file and should not be changed

10 Oct 2012, 8:53 AM
#9
pretty_dumb avatar

pretty_dumb

New Zenner

Join Date:
Oct 2012
Posts:
38
Plugin Contributions:
0

Re: Favicon IE9

kobra:

The file is at /includes/templates/template_default/common/html_header.php

But that code already exists in that file and should not be changed

HI,

I took your advice and left it alone and this morning I have opened my site and there it is, my favicon is in the header tab and url line!

That has taken a LONG time to appear but very happy it is there. :D

I also found your post about altering footers very helpful.

Thank you.

10 Oct 2012, 9:14 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Favicon IE9

Glad it finally appeared