Favicon not showing when setup done thru Settings>Configuration>White Label [SOLVED]
Favicon not showing when setup done thru Settings>Configuration>White Label
I need help in setting Favicon thru Settings > Configuration > White Label > English. When I upload my Favicon file, browser do not shows any icon. It does show KeyHelp icon when reverted back.
Please suggest what I am doing wrong.
Thanks.
Shanti
Re: Favicon not showing when setup done thru Settings>Configuration>White Label [SOLVED]
this is because of a small bug in KeyHelp 25.0, which affects some systems (strangely not everyone).
To fix it:
1) Open /home/keyhelp/www/keyhelp/theme/bulma/twig/base/base.twig
Code: Select all
Find: <link type="image/x-icon" rel="shortcut icon" href="{{ _white_label.favicon_url }}?{{ _app.cache_control }}">
Replace with: <link type="image/x-icon" rel="shortcut icon" href="{{ _white_label.favicon_url }}&{{ _app.cache_control }}">
Code: Select all
Find: <img class="svg-vendor-logo" src="{{ _white_label.favicon_url }}?{{ _app.cache_control }}">
Replace with: <img class="svg-vendor-logo" src="{{ _white_label.favicon_url }}&{{ _app.cache_control }}">
Code: Select all
keyhelp-toolbox
Code: Select all
8) Clear template cache
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Favicon not showing when setup done thru Settings>Configuration>White Label
Fezzi
Everyone can do something, no one can do everything.