Thread subject: Official Home of the PHPFusion CMS :: Php Fusion "PF" Webapp name / favicon

Posted by diesltek710 on 04-11-2022 23:23
#1

I'm sure most of you are aware with fusion 9 you can create a Webapp with your site by going to your site and adding it to the home screen.

My issue with this is that even tho i changes my sites name and it fav icon when i add my website to the home screen of my phone it will show the fusion logo and instead of my sites name it's names PF.

How do i change this? This is creating confusion for my users...

Also is there anyway to make a link on the site to add to home screen? Are there any notifications that can be pushed out (for example if user gets a pm or there's a new news item, or a calendar event is due?)

Posted by diesltek710 on 07-11-2022 19:35
#2

Anyone? I don't see any previous threads or anything in the manual in regards to this....

Posted by Apis on 08-11-2022 07:07
#3

You must have one in the images / favicons folder for the correct icon to be displayed. By default, only the PF icons are there. It is best to use the generator https://realfavicongenerator.net/ and create a set of your own icons by deleting those intended for PF.

Additionally, the site.webmanifest file must be set up in the same folder. By default it looks like this:
Code
{
 "name": "",
 "short_name": "",
 "icons": [
 {
 "src": "/android-chrome-192x192.png",
 "sizes": "192x192",
 "type": "image/png"
 },
 {
 "src": "/android-chrome-384x384.png",
 "sizes": "384x384",
 "type": "image/png"
 }
 ],
 "theme_color": "#ffffff",
 "background_color": "#ffffff",
 "display": "standalone"
}

So you have to enter the name of your website in "name" and "short_name", choose the default colors for the application, etc. More advanced options:
https://web.dev/add-manifest/

Edited by Apis on 08-11-2022 07:09

Posted by MathiasHU on 08-11-2022 12:14
#4

/images/favicons/site.webmanifest

Posted by diesltek710 on 08-11-2022 21:19
#5

Awesome! Will try thanks