My favicon doesn't appear since I install update 3.4

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
nrochon
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Feb 09, 2015 7:03 pm

My favicon doesn't appear since I install update 3.4

Post by nrochon » Sun Mar 01, 2015 10:18 pm

I lost my favicon on my web site since I install the new update 3.4.
The favicon.ico in the template directory is the good one (my image) but Joomla still show his own ico. Does Joomla override that possibility ? Does anyone have the same problem ?

User avatar
jackrabbit
Joomla! Ace
Joomla! Ace
Posts: 1473
Joined: Thu May 21, 2009 3:12 am
Location: Florida
Contact:

Re: My favicon doesn't appear since I install update 3.4

Post by jackrabbit » Sun Mar 01, 2015 10:29 pm

If you are using one of the core packaged templates, your favicon will always be overwritten on updates. Try placing it in the hosting root instead.
Reset Joomla super user password and username simply | http://cmsenergizer.com/website-energy- ... d-remotely

nrochon
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Feb 09, 2015 7:03 pm

Re: My favicon doesn't appear since I install update 3.4

Post by nrochon » Sun Mar 01, 2015 10:34 pm

Thank you
It's the case... I use protostar

nrochon
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Feb 09, 2015 7:03 pm

Re: My favicon doesn't appear since I install update 3.4

Post by nrochon » Sun Mar 01, 2015 11:21 pm

Resolved Thx

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: My favicon doesn't appear since I install update 3.4

Post by sovainfo » Mon Mar 02, 2015 12:25 pm

Correction: Place your favicon.ico in the root of your Joomla installation. Placed in the hosting root it will be ignored, unless it is the Joomla root as well!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
Zemplate
Joomla! Ace
Joomla! Ace
Posts: 1389
Joined: Tue Aug 13, 2013 5:55 pm
Location: Colorado
Contact:

Re: My favicon doesn't appear since I install update 3.4

Post by Zemplate » Mon Mar 02, 2015 1:58 pm

I know this was posted as resolved, but I think this should be clarified.

The Protostar favicon is located in the templates/protostar folder. Since Protostar comes with a Joomla installation, many files are replaced with upgrades.

This link is created on all pages when you use the Protostar template.

<link type="image/vnd.microsoft.icon" rel="shortcut icon" href="/templates/protostar/favicon.ico">

This is the file that should be replaced with your own favicon.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: My favicon doesn't appear since I install update 3.4

Post by sovainfo » Mon Mar 02, 2015 2:43 pm

Or put it in the root so it doesn't get overridden and remove the one from protostar after the update which put it back!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
Zemplate
Joomla! Ace
Joomla! Ace
Posts: 1389
Joined: Tue Aug 13, 2013 5:55 pm
Location: Colorado
Contact:

Re: My favicon doesn't appear since I install update 3.4

Post by Zemplate » Mon Mar 02, 2015 4:41 pm

I tested this method suggested by sovainfo.

I removed the favicon.ico from the Protostar folders, and put one in the root of the installation. In the site's source code, the path to the favicon.ico in the <head> changed to this:

<link type="image/vnd.microsoft.icon" rel="shortcut icon" href="/favicon.ico">

Somehow Joomla is written to find it in this location if it is not present in the template folder.

So in theory, sovainfo is correct, but if I were to upgrade my Joomla site, wouldn't the favicon.ico be placed back into the Protostar folder? I would still have to manually remove this file from the template and if so I could just replace it with the new one? I put a favicon.ico back into Protostar, and the path in the head went back to:

<link type="image/vnd.microsoft.icon" rel="shortcut icon" href="/templates/protostar/favicon.ico">

I ask this question with all due respect. I just to be sure I understand the situation.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30935
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: My favicon doesn't appear since I install update 3.4

Post by Per Yngve Berg » Mon Mar 02, 2015 7:44 pm

If you are going to modify a template, it's best to copy the hole template to a new folder and use this so it will not get overwritten under an update.

User avatar
Zemplate
Joomla! Ace
Joomla! Ace
Posts: 1389
Joined: Tue Aug 13, 2013 5:55 pm
Location: Colorado
Contact:

Re: My favicon doesn't appear since I install update 3.4

Post by Zemplate » Mon Mar 02, 2015 8:54 pm

Per Yngve Berg - I agree with you, but at some point you will likely need to upgrade your template, maybe not with each and every Joomla upgrade - but even Protostar changed from earlier versions of Joomla 3 to the current one. If you don't upgrade your template, you will miss out on these changes, no?

This thread is about the favicon - so even you copy and rename your Protostar template, you will need to put the favicon.ico file in a logical spot.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: My favicon doesn't appear since I install update 3.4

Post by sovainfo » Mon Mar 02, 2015 9:46 pm

And it seems the way it is supposed to work it checks the template and if not found the Joomla installation root. Made sure not to change that when fixing not finding the favicon.

So after update, you only need to remove the favicon from the template to get your own favicon.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!


Locked

Return to “General Questions/New to Joomla! 3.x”