?
avatar frogydiak
frogydiak
13 Jul 2016

Steps to reproduce the issue

My template has an option to manually select a favicon to use png image. favicon.ico also exists in my templates/$theme root folder and the theme logic is, when no image is selected in the template settings then use favicon.ico but Joomla 3.6 changes this since it seems that it auto inserts favicon.ico after the call for $this->addFavicon().

Expected result

No favicon is loaded when $this->addFavicon() is not called in the template.

Actual result

<link href="/templates/$theme/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
is auto inserted when favicon.icon exists in the theme folder.

System information (as much as possible)

Additional comments

avatar frogydiak frogydiak - open - 13 Jul 2016
avatar frogydiak frogydiak - change - 13 Jul 2016
The description was changed
avatar mbabker
mbabker - comment - 13 Jul 2016

Joomla's always done this. Going back at least to 3.0.0, the JDocumentHtml::_loadTemplate() method automagically adds the favicon if a favicon.ico can be found in either the template path or at the app's base path.

avatar brianteeman
brianteeman - comment - 13 Jul 2016

Closing as expected behaviour

avatar brianteeman brianteeman - change - 13 Jul 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-07-13 19:16:57
Closed_By brianteeman
avatar brianteeman brianteeman - close - 13 Jul 2016
avatar brianteeman brianteeman - close - 13 Jul 2016
avatar brianteeman brianteeman - close - 13 Jul 2016
avatar frogydiak
frogydiak - comment - 13 Jul 2016

Seems like it never worked before v3.6, prior versions (even 3.0.0) does not insert favicon.ico in the header.

avatar brianteeman brianteeman - change - 14 Jul 2016
Labels Added: ?

Add a Comment

Login with GitHub to post a comment