Project

General

Profile

Actions

Bug #15013

closed

shortcut icon syntax incorrect/incomplete

Added by miikaawaadizi about 19 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-10-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

page.shortcutIcon adds this to the page:

<link rel="SHORTCUT ICON" href="(whatever path was set in the template)" />

there's twi relative links required to catch all the browsers/platforms that might be used, for some really dumb reason ... even though Micro$queak's web page (http://www.microsoft.com/technet/prodtechnol/ie/support/tipsauth.mspx) states to use the above syntax, MSIE seems to not always like it (whilst Firefox does).

the fix is to edit tslib/class.tslib_pagegen.php (syntax confirmed from http://www.winterdrache.de/freeware/png2ico/favicon.html).

this will make MSIE find the favicon and use it in bookmarks.

find (around line 448)

<link rel="SHORTCUT ICON" href="'.htmlspecialchars($ss).'" />';

replace with

<link rel="icon" href="'.htmlspecialchars($ss).'" type="image/x-icon" /><br />
<link rel="shortcut icon" href="'.htmlspecialchars($ss).'" type="image/x-icon" />';
(issue imported from #M1537)


Files

1537.diff (1.61 KB) 1537.diff Administrator Admin, 2007-05-19 16:42
bug_1537_v2.diff (1.1 KB) bug_1537_v2.diff Administrator Admin, 2008-04-04 00:04

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #20153: shortcut icon type detection does not work if allow_url_fopen is disabledClosed2009-03-10

Actions
Precedes TYPO3 Core - Bug #69665: Rendering of TypoScript shortcutIcon does not consider HTTPS (in some cases)ClosedStephan Großberndt2015-09-11

Actions
Actions

Also available in: Atom PDF