Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

[solved] loading multiple favicon png files ?

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,
I'm trying to load multiples png files as favicons, like this for exemple :
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="favicon-160x160.png" sizes="160x160" />
I tried to inject this code in the template's head.php file and the lines appears in the markup but favicons are not loaded, it don't even appear in the network tab of my dev tool.
- First, if I load it in the head.php file where does the png files has to lay ? In the same directory than head.php ?
- Second, is there an other way to do it than edit head.php ? I don't enjoy edit templates core files, I care about updates.

Thanks !

Sincerely.

Brunus.

EDIT : It works, it was a cache problem and also with those src pathes the favicons has to lay in the joomla root directory. I first saved the favicons in the templates directory and it was not working.
  • Brunus's Avatar
  • Brunus
  • 12 Month basic
  • 99 posts
  • 1 Thanks
  • Karma: 8
Last Edit: 9 years 9 months ago by Brunus. Reason: Solved
The administrator has disabled public write access.
Cool thanks for the update

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers