[TYPO3-core] RFC: Fix #1537: Shortcut icon syntax incorrect/incomplete
Michael Stucki
michael at typo3.org
Fri Apr 4 00:51:33 CEST 2008
This is a SVN patch request.
Problem:
page.shortcutIcon adds this to the page:
<link rel="SHORTCUT ICON" href="(whatever path was set in the template)" />
This is not working in MSIE, which is why an additional line is needed:
<link rel="icon" href="..." type="image/x-icon" />
<link rel="shortcut icon" href="..." type="image/x-icon" />';
Solution:
Add this new line, additionally append the MIME type, if found.
I also decided to prefix the icon with the TYPO3_SITE_URL because apparently
MSIE also ignores the base URL when reading this icon... (nice browser,
isn't it?)
Branches: TYPO3_4-2
Bugtracker reference:
http://bugs.typo3.org/view.php?id=1537
Comments:
In some environments you might need to apply an additional patch
(see issue #1007) to test this.
Thanks to Sören Schaffstein who sponsored this bug as part of the bug
auction at T3BOARD08 :-)
- michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1537_v2.diff
Type: text/x-diff
Size: 1123 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080404/fef006cf/attachment.diff
More information about the TYPO3-team-core
mailing list