Favicon does not work in IE

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
MrNilsson
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Fri Nov 07, 2008 7:07 pm

Favicon does not work in IE

Post by MrNilsson » Fri Jan 30, 2009 8:52 am

Hi!
I´ve switched the favicon of my JApurity based site to a new one that I´ve made myself. It looks good in firefox, but it wont appear in the browser of Internet Explorer. Is there anybody that has a clue why?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17350
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Favicon does not work in IE

Post by toivo » Fri Jan 30, 2009 9:13 am

The favicon of forum.joomla.org works fine in both FF and IE7. Perhaps your favicon is not in the .ico format: http://msdn.microsoft.com/en-us/library ... S.85).aspx.

Regards,
Toivo Talikka, Global Moderator

MrNilsson
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Fri Nov 07, 2008 7:07 pm

Re: Favicon does not work in IE

Post by MrNilsson » Fri Jan 30, 2009 9:50 am

Hi!
It is a .ico and I've followed the instructions given here on how this should be done.

MrNilsson
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Fri Nov 07, 2008 7:07 pm

Re: Favicon does not work in IE

Post by MrNilsson » Mon Feb 09, 2009 11:55 am

...but it still dont work in IE

jezp
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Feb 02, 2009 4:05 pm

Re: Favicon does not work in IE

Post by jezp » Thu Feb 12, 2009 5:00 pm

I'm bumping this as I have the same problem. Works in Firefox in the address bar, but not in the bookmarks. The new favicon is not displayed in IE7 at all - it just displays default Joomla one.

What I've tried:

Created .ico in both IrfanView and online at http://tools.dynamicdrive.com/favicon/

Searched my site directory and replaced all favicon instances with new ones.

Cleared cache/temporary internet files.

jezp
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Feb 02, 2009 4:05 pm

Re: Favicon does not work in IE

Post by jezp » Thu Feb 12, 2009 5:07 pm

OK, it's showing up in IE now - I just had to restart the browser. It is still showing the default favicon when I drag it to my bookmarks in Firefox though.

dlinker
Joomla! Intern
Joomla! Intern
Posts: 95
Joined: Thu Sep 04, 2008 2:03 pm

Re: Favicon does not work in IE

Post by dlinker » Sat Feb 14, 2009 9:05 pm

did you clean the browser cache?

flatsilver
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 141
Joined: Wed Feb 11, 2009 3:38 am

Re: Favicon does not work in IE

Post by flatsilver » Mon Mar 02, 2009 10:59 pm

i have done EVERYTHING, cleaning the browser cashe, droping the icon file in more than the required folders (because the it wasnt working in the main 2)
AND I STILL CANT GET IT TO PULL UP!!
sheeeeeeeeeesh.
ive made many sites!
i even resorted to to putting in the HTML string in the template
and no go!!!!!!!!!!!!!!!!!!!!!
aaaaaaaaaaaaaaaaaaaaaah




Paddock
www.twitter.com/boycottfootball
www.boycottfootball.com
Last edited by flatsilver on Tue Mar 03, 2009 12:49 am, edited 1 time in total.

dlinker
Joomla! Intern
Joomla! Intern
Posts: 95
Joined: Thu Sep 04, 2008 2:03 pm

Re: Favicon does not work in IE

Post by dlinker » Mon Mar 02, 2009 11:43 pm

I have changed my favicon twice, and it now displays correctly at the front end in IE and Firefox, but in the back end (administrative) I still see my previous version of favicon displayed. Don't know how this can help you, just additional info to think

flatsilver
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 141
Joined: Wed Feb 11, 2009 3:38 am

Re: Favicon does not work in IE

Post by flatsilver » Tue Mar 03, 2009 12:48 am

yeah, it shows on half of my back end pages and none of the front





Paddock
www.twitter.com/boycottfootball
www.boycottfootball.com

dlinker
Joomla! Intern
Joomla! Intern
Posts: 95
Joined: Thu Sep 04, 2008 2:03 pm

Re: Favicon does not work in IE

Post by dlinker » Tue Mar 03, 2009 5:41 am

I see your favicons in exactly the same way in IE7 and Firefox

zeebie
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Mar 03, 2009 3:52 am
Location: Melbourne, Australia

Re: Favicon does not work in IE

Post by zeebie » Tue Mar 03, 2009 7:46 am

I changed the ja_purity favicon to my own and to have it showing I did the following.

IE 7
- closed the IE browser and then started it up again
- navigated to mysite.com.au and the right favicon appeared

FireFox
- in the address bar I typed http://mysite.com.au/templates/ja_purity/favicon.ico
- the right favicon showed up then I navigated back to mysite.com.au and the right favicon appeared.

flatsilver
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 141
Joined: Wed Feb 11, 2009 3:38 am

Re: Favicon does not work in IE

Post by flatsilver » Wed Mar 04, 2009 8:24 am

Yes, yesterday i spent FOUR HOURS. fixing the favicons on ALL of my sites. They all were finally working. woke up this morning.. NOT ONE OF THEM WORKED! i think my browser is drunk !! i have at least 8 hours in messing with favicons. you would think the "short cut" "href...'favicon.ico' in the header would force it up there, but nooooooooooooope

elcholoperuano
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Aug 03, 2010 2:49 am

Re: Favicon does not work in IE

Post by elcholoperuano » Thu Mar 22, 2012 10:08 pm

I also have an issue with IE not showing my favicon. It works fine with FF and Chrome but not in IE. The "e" still shows up in IE. I don't ever use IE so clearing cache would be a waste of time but for the sake of argument I did and still nothing. Not to mention that I also tried it on another laptop and the "e" came up as well.

www.rubyfrogentertainment.com
www.acr.rubyfrogentertainment.com
www.wedni.com

The same thing happens to all sites....

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17350
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Favicon does not work in IE

Post by toivo » Thu Mar 22, 2012 10:27 pm

Have you checked the icon at this forum, forum.joomla.org? My IE8 displays the Joomla icon correctly here but the e is shown at your sites.
Toivo Talikka, Global Moderator

elcholoperuano
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Aug 03, 2010 2:49 am

Re: Favicon does not work in IE

Post by elcholoperuano » Thu Mar 22, 2012 10:49 pm

I know the icon is not showing up correctly on IE, hence my question here on the forum. It shows up correctly on FF AND on Google Chrome. What code do I use in joomla for it to be able to be seen/shown on IE?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17350
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Favicon does not work in IE

Post by toivo » Thu Mar 22, 2012 11:22 pm

I just wanted to find out if your IE can display favicons from other sites.

Joomla 1.5 does not do anything special to render favicons in IE. Joomla 1.5 produces the link to the favicon if the file favicon.ico is found in the main (root) Joomla folder or the main folder of the template. The code can be found in the addFavIcon and _loadTemplate methods of the JDocumentHTML class in /libraries/joomla/document/html/html.php.

On the other hand, templates can do their own thing and add a favicon line to the <head> section, in which case the favicon.ico file can be anywhere. Here is one such example:

Code: Select all

<link rel="shortcut icon" href="/images/favicon.ico" />
And here is some useful info from a Microsoft MVP how to troublesheet the favicon problem in IE:http://jeffcode.[URL banned].com.au/2007/12 ... ppear.html
Toivo Talikka, Global Moderator

elcholoperuano
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Aug 03, 2010 2:49 am

Re: Favicon does not work in IE

Post by elcholoperuano » Thu Mar 22, 2012 11:52 pm

Totally misunderstood your first response, sorry about that ;) Yes, other sites pull up the favicon, just not mine. I'll look at the link you provided. Thank you :)

elcholoperuano
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Aug 03, 2010 2:49 am

Re: Favicon does not work in IE

Post by elcholoperuano » Fri Mar 23, 2012 6:59 am

Tried what you suggested, what the site suggested and still not seeing anything in IE. In other words, I made the favicon.ico into a 16x16 instead of the 24x24 that I had been using. In FF and Chrome it just looks smaller.... Anyway, also added the line to the index.php of the template and even saw it in the source. Maybe I typed it in wrong though?

<link rel="address bar icon" href="http://www.rubyfrogentertainment.com/ma ... avicon.ico">

georgec54
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun May 08, 2011 7:13 pm

Re: Favicon does not work in IE

Post by georgec54 » Wed Jun 26, 2013 10:21 am

in yoursiterootfolder/libraries/joomla/document/html/html.php
search:
public function addFavicon($href, $type = 'image/vnd.microsoft.icon', $relation = 'shortcut icon')
replace with:
public function addFavicon($href='/favicon.ico', $type = 'image/ico', $relation = 'shortcut icon')

User avatar
RustyJoomla
Joomla! Explorer
Joomla! Explorer
Posts: 409
Joined: Wed Aug 01, 2007 12:08 am
Location: UK
Contact:

Re: Favicon does not work in IE

Post by RustyJoomla » Thu Jan 09, 2014 3:04 pm

I had this exact problem and nothing seemed to work. After clearing the browser cache countless times and even updating IE to v9 I found this: http://favicon.htmlkit.com/favicon/

The above link worked perfectly for me!
Follow me on Twitter - http://twitter.com/RustyJoomla
Company Joomla Website - https://storm.agency


Locked

Return to “Templates for Joomla! 1.5”