Use the standard templates, update Joomla
your favicon is gone
The Joomla favicon is displayed instead of your own
Every version of Joomla
Is it possible to create a user.ico so the favicon is not getting overwritten every time there is an update?
This is happening when you make use of protostar or beez template. It's most annoying and easily forgotten to copy again and again and again. Thanks!
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-20 08:54:38 |
Closed_By | ⇒ | brianteeman |
You could leave it out of every update, and only put it in when a big update (read new Joomla version) is there. Updating the favicon every time is not bringing anything, but hassle for every Joomla user who uses the standard (and mostly adjusted) templates.
Status | Closed | ⇒ | New |
Closed_Date | 2017-08-20 08:54:38 | ⇒ | |
Closed_By | brianteeman | ⇒ |
Re-opening
That might be possible.
Would be great, thank you.
Then the same would go for all the LESS files too. If you want to customize the default Protostar template, you should copy it. Same applies if you want to change the favicon
Maybe that's true. I don't know if the LESS files are also altered as much as the template.css, which has support for user.css
The right way to do things if you are going to use the core templates is to duplicate them. We can not (and should not) pick and choose which files are "important" for an update and which files are "important" to not override because a user might have made some changes. So it is an all or nothing agreement.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-20 15:39:26 |
Closed_By | ⇒ | brianteeman |
Closing
ok fair enough. Thanks.
From memory, if you put a favicon into the root directory of your Joomla, the one from the template folder gets "overriden" and the one in root will be used.
Well, close. If one doesn't exist in the template and one exists at the root, that will be used.
joomla-cms/libraries/src/Document/HtmlDocument.php
Lines 663 to 675 in c343565
Well that would be the same as overwriting the existing favicon, only now delete the one in in the template directory. So copying the template directory and rename would then still be the best option in this case.
@mbabker Do you think we can change that order in J4? Because imho it makes more sense the other way around. Especially since we don't ship a favicon anymore in the root (I think there used to be one in earlier releases).
I doubt the default favicon we (or a template developer) ship is appropriate in most cases.
Feel free to propose a PR.
Thanks a lot for this constructive discussion and the PR.
No its not possible as favicon is an internet standard
The only option is to use a copy of the default template