Favicon reset after every Joomla! Update

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
smint
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Oct 09, 2013 5:38 pm

Favicon reset after every Joomla! Update

Post by smint » Tue Oct 18, 2016 3:49 pm

Hello.
After every Joomla! update my individual favicon and apple-touch-icon.png get overwritten to the standard Joomla icons.
What can I do to keep my favicon and to avoid uploading it after every Joomla! update?

Best regards
Martin

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1483
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: Favicon reset after every Joomla! Update

Post by H13 » Wed Oct 19, 2016 9:47 pm

Hi, the problem is, if your favicon is included in the template which is a part of Joomla! and this template will be updated, it will be overwritten. Unforutnately, you cannot call it with other name as only one name favicon.ico is displayed.

So after update you need to copy the favicon.ico back or e.g. use component like Phoca Favicon and recreate the favicon - in both cases you need to do an action after upgrade - in first case e.g. per FTP, in second case directly in administration - so you can select which way is better for you :idea:

Jan
Last edited by imanickam on Wed Oct 19, 2016 11:46 pm, edited 1 time in total.
Reason: Per the Forum Rules, changed the URL of the extension from the developer's URL to the JED URL
- Phoca Gallery - powerful image gallery - http://www.phoca.cz/phocagallery/
- Phoca Restaurant Menu - http://www.phoca.cz/restaurantmenudemo/
- Phoca Cart - e-commerce platform for Joomla!
- Phoca Download - download manager for Joomla!

smint
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Oct 09, 2013 5:38 pm

Re: Favicon reset after every Joomla! Update

Post by smint » Wed Oct 19, 2016 10:38 pm

Thanks for your answer, Jan.
So we should increase the pressure on the Joomla development team to leave the favicon untouched within future updates, right?

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1483
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: Favicon reset after every Joomla! Update

Post by H13 » Thu Oct 20, 2016 11:37 am

Hi, for now I don't know if it is overwritten with every update, but this is a complicated question. When you use e.g. CSS, you can call your CSS as custom.css and such will be not overwritten. But regarding favicon, there is no such possibility as there is only one name used not like by CSS where you can set name which you want or need :idea:

Jan
- Phoca Gallery - powerful image gallery - http://www.phoca.cz/phocagallery/
- Phoca Restaurant Menu - http://www.phoca.cz/restaurantmenudemo/
- Phoca Cart - e-commerce platform for Joomla!
- Phoca Download - download manager for Joomla!

mbabker
Joomla! Hero
Joomla! Hero
Posts: 2236
Joined: Sun Feb 28, 2010 8:26 pm

Re: Favicon reset after every Joomla! Update

Post by mbabker » Thu Oct 20, 2016 12:18 pm

If you are using one of the core templates, it is suggested you make a copy of the template so that your changes are not lost on an update.

Patch packages only include files changed between two release tags and a few top level files to ensure the full base structure is present.

Update packages include the entire Joomla filesystem minus the installation directory and some sample images. These packages are used for all updates from 2.5 to now, so need to include everything.

There's no "increase the pressure on the Joomla development team to leave the favicon untouched" solution. Depending on the update package used, it will be overwritten because of how the packages are generated and the necessity to generate the packages in that way (imagine updating from 2.5 and the new template didn't include all files).


Locked

Return to “Migrating and Upgrading to Joomla! 3.x”