1

Topic: Favicons for Dashboard iRedAdmin

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
Hello,
how to setup favicon for iRedAdmin Dashboard?

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Favicons for Dashboard iRedAdmin

Currently, you have to modify iRedAdmin-Pro source code to achieve it. but i just updated iRedAdmin-Pro development edition to make it easier.

With the latest iRedAdmin-Pro stable release, you have to modify 3 files under "templates/default/":

- layout.html
- layout_user.html
- login.html

Add a line like below after other lines used to load css files:

    <link rel="icon" type="image/x-icon" href="{{ctx.homepath}}/static/favicon.ico" />

Then copy your favicon.ico file to "static/" directory in iRedAdmin-Pro.

In next iRedAdmin-Pro release, you need to add one new parameter in iRedAdmin-Pro config file like below:

BRAND_FAVICON = 'custom_favicon.ico'

You can use any file name you like. Then copy the image to "static/" directory. NOTE: the image must be '.ico' format.

3

Re: Favicons for Dashboard iRedAdmin

Dear ZhangHuangbin, I had in mind iRedMail is not professional smile - https://host.tld/iredadmin

For my private projects it is enough. When I have my own corporation, I will definitely buy your Pro -version - as The Best solution for Email servers.

4

Re: Favicons for Dashboard iRedAdmin

It's same modification for iRedAdmin open source edition. smile

5

Re: Favicons for Dashboard iRedAdmin

Thanks! Have a nice day!