DevCEDTeam / CED

0 stars 0 forks source link

Mautic Favicon #91

Open DevCEDTeam opened 9 months ago

DevCEDTeam commented 9 months ago

To replace the Mautic favicon with your custom favicon, you can follow these steps:

  1. Create your custom favicon. There are many free online favicon generators that you can use, such as Favicon.cc.
  2. Upload your custom favicon to your Mautic installation. You can upload your custom favicon to the /media/images directory in your Mautic installation.
  3. Update your Mautic theme. Open the base.html.twig file in your Mautic theme and update the following line:
<link rel="shortcut icon" href="{{ mautic.favicon }}" />

Replace the value of the mautic.favicon variable with the path to your custom favicon. For example:

<link rel="shortcut icon" href="/media/images/my-custom-favicon.ico" />
  1. Save your changes and clear your browser cache.

Once you have followed these steps, your custom favicon should be displayed in your browser when you visit your Mautic installation.

Here are some additional tips:

If you are having trouble replacing the Mautic favicon with your custom favicon, please consult the Mautic documentation or contact the Mautic community for assistance.

DevCEDTeam commented 9 months ago

It looks like the path for the favicon is different for this script. I moved aside the one from Mautic and copied yours into place:

[17:06:36 team root@95129462 ~]cPs# mv -v /home/mautic/public_html/mautic.devced.com/media/images/favicon.ico{,-backup}
renamed '/home/mautic/public_html/mautic.devced.com/media/images/favicon.ico' -> '/home/mautic/public_html/mautic.devced.com/media/images/favicon.ico-backup'
[17:06:44 team root@95129462 ~]cPs# cp -avp /home/mautic/public_html/mautic.devced.com/favicon.ico /home/mautic/public_html/mautic.devced.com/media/images/favicon.ico
'/home/mautic/public_html/mautic.devced.com/favicon.ico' -> '/home/mautic/public_html/mautic.devced.com/media/images/favicon.ico'