Closed (fixed)
Project:
Favicon
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jan 2011 at 17:23 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
simg commentedHmm, I couldn't get Mikes version to work, so I did a bit of investigation and came up with the attached version.
This is better because:
a) it works :)
b) it writes the favicon.ico file directly with an image/x-icon mime type rather than doing a browser redirect (so eliminating a server round trip, reducing page load time and probably working on more browsers).
c) works on buggy versions of IE (eg most of them!) that require (bizarrely) the mime type to be image/x-icon rather than the correct image/vnd.microsoft.icon
Comment #2
simg commentedps: I had to comment out the following line from my .htaccess file to allow drupal to manage the favicon.ico file
RewriteCond %{REQUEST_URI} !=/favicon.ico
Comment #3
robloachI really like the SimpleTests! :-) ... Thanks a lot!
http://drupalcode.org/project/favicon.git/commit/666a898
Comment #4
simg commentedSimpleTests must have been Mike, because it wasn't me :)
Comment #5
robloachLet me know if 7.x-1.x-dev is good, because then I could get out a 7.x-1.0.
Comment #6
simg commentedlooks OK to me (from a quick scan of the code - don't have any time to install and test for a few weeks - sorry).
only comment is that we've left a bit of debug code which could / should be removed on line 27
//print "file=".$file; die();Comment #7
robloachI've committed that change. http://drupalcode.org/project/favicon.git/commit/9262611 Thanks. I'll wait for some usage on 7.x-1.x-dev before making the 7.x-1.0 release. Thanks again!
Also, any reason why it asks for Shortcut module to be abled?
Comment #8
simg commentedno idea why it would ask for that. I don't have the Shortcut module on the site where Favicon is installed and it works fine - I don't remember being asked to install it either :/
Comment #9
rogical commented+1
Comment #10
mrfelton commented+1. Looks to be working ok for me.
Comment #11
Anonymous (not verified) commentedWorks for me.
Comment #12
klonosWorks just fine here too. Only minor thing is that in multilingual sites, all http://www.domain.net/[language]/favicon.ico URLs work perfectly ok (where language is whichever enabled language), but then it doesn't work for the plain http://www.domain.net/favicon.ico URL (without the language token). Trivial issue, but still...
Comment #13
klonos@Rob Loach, #7:
...The usage count is ~110 (and rising) as I'm writing this. Not that I care much for a "stable" release, dev seems to be working just fine ...well other than that minor issue I spotted in multilingual sites I mean.
Comment #14
phreadom commentedUp to 636 users for the 7.x version. Time for a 1.0 yet? Or is it being delayed for the multilingual issue?
Comment #15
robloach:-)
Comment #16
klonos...I believe we can close this now and file separate issues in the 7.x branch if we have any. The issue I was talking about back in #12 is actually #910650: Favicon not working in multilingual setup