Custom favicon in Aware IM application

Contains tips for configurators working with Aware IM
Post Reply
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Custom favicon in Aware IM application

Post by hpl123 »

Hi all,
Here is a tip on how to configure your own favicon in an Aware IM application. The solution was found by Rennur (thanks Rennur :) ).

1. Copy you favicon.ico to C:\AwareIM\Tomcat\webapps\AwareIM

2. In C:\AwareIM\Tomcat\webapps\AwareIM\Startup.html insert into the <HTML> tag, just above the </head> tag

Code: Select all

<link rel="shortcut icon" href="favicon.ico?v=2" />
3. Refresh browser

I have tested the solution and it works.
Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Login pages

Post by hpl123 »

Hi all,
This fix also works with the login pages.
Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Update

Post by hpl123 »

Hi all,
I found 1 small issue with this fix. It sets 1 favicon for all BSV´s and that´s fine if you have 1 BSV but not if you have multiple. There might be a way around this?

Anyone, ideas?
Henrik (V8 Developer Ed. - Windows)
Rennur
Posts: 1191
Joined: Thu Mar 01, 2012 5:13 am
Location: Sydney, Australia

Post by Rennur »

Startup.html feeds all BSVs so the favicon will be the same.

Different BSVs require separate login pages.

1. Remove the favicon.ico link form Startup.html
2. Create a separate login page for each BSV and add a diferent favicon.ico for each page.

Cheers
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

1 application 1 server, neutral favicon

Post by hpl123 »

I tried that and when doing this the favicon on the loginpage is only on the loginpage. After logging in and the application start up the favicon is removed and no favicon is displayed.

This is generally not a problem when having 1 server for 1 application which is the endgoal for most applications I develop. Then it works. When having multiple applications per server, it doesn´t. I have thought about using 1 "neutral" favicon that works for multiple applications and that might be an option.
Henrik (V8 Developer Ed. - Windows)
Rennur
Posts: 1191
Joined: Thu Mar 01, 2012 5:13 am
Location: Sydney, Australia

Post by Rennur »

If you have HTML in the Visual Perspective Banner frame, you can try placing the favicon link there, otherwise I'm all out of ideas :)
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Update

Post by hpl123 »

Update:
See the following post for workaround to enable multiple favicons (1 per applications) on 1 server.

http://www.awareim.com/forum/viewtopic.php?t=7022
Henrik (V8 Developer Ed. - Windows)
Post Reply