Hidden update! Look like favicon setting/information got changed. I lost my favicon, and it defaulting to EspoCRM and I'm too lazy to fix it now
8.3 favicon
Collapse
X
-
-
A custom favicon image should be specified in metadata: app > client > favicon
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
> I had them in a proper folder
This should not happen. Files should not be removed on upgrade, unless you overrode existing core files.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
Looking at this commit SVG was support now: https://github.com/espocrm/espocrm/c...39deee04ee735f
I can't seem to find where to edit the Metadata config file. The documents just say: A favicon image. SVG or PNG The default value: client/img/favicon.svg.
Which may be sufficient for the technical smart. Reading the start of the Documents it say: metadata > app > client.
But I dont see any folder call Metadata. Looking at the old thread: https://forum.espocrm.com/forum/deve...ge-the-favicon
The file path is:
custom/Espo/Custom/Resources/metadata/app/client.json
This was my previous code
{
"favicon": "client/custom/img/favicon.png",
"favicon196": "client/custom/img/favicon196x196.png"
}
Looking at the code commit and trying to be smart, I made the following edit:
{
"favicon": "client/custom/img/favicon.svg",
"faviconAlternate": "client/custom/img/favicon.ico"
}
Next I go to the file/folder path and add these 2 file. Finally I can use my svg version of faivon. I see that my file still there! But the .svg is where it 'killed' the favicon in v8.3. I guess just upload a svg version and it should work?!
Refreshing and clearing cache does not seem to show it yet. I will wait a few days before trying again.
EspoCRM can detect the favicon as you can see in the Media Page Info view. But it also showing my default image too! Not sure at the moment how to 'fix' this.
Last edited by esforim; 06-25-2024, 06:28 AM.Comment
Comment