Submitted by sgrayban on Thu, 03/18/2010 - 14:56
We can add a company logo and url in VM so why not be able to change the favicon ?
Status:
Closed (fixed)
We can add a company logo and url in VM so why not be able to change the favicon ?
Comments
Submitted by JamieCameron on Thu, 03/18/2010 - 17:58 Comment #1
You can do this by creating an overlay theme, which can easily change any image or icon or CSS in Virtualmin.
For more docs, see http://doxfer.webmin.com/Webmin/CreatingOverlayThemes
Submitted by sgrayban on Fri, 03/19/2010 - 04:59 Comment #2
This doesn't work.
You are using frameset and the favicon only shows up in individual pages such as https://heaven.openstream.ch:10000/right.cgi?open=system
but not inside https://heaven.openstream.ch:10000/
Submitted by JamieCameron on Fri, 03/19/2010 - 13:07 Comment #3
So you created your own custom overlay theme? If so, could you email it to me?
Submitted by sgrayban on Sun, 03/21/2010 - 22:26 Comment #4
no reason to email it... its just 1 file and 1 line.
# cat config
headhtml=<link rel='shortcut icon' href='http://www.openstream.ch/favicon.ico' type='image/x-icon' />
Submitted by sgrayban on Sun, 03/21/2010 - 22:28 Comment #5
according to the docs...
headhtml HTML that will be included inside the section of each Webmin page.
Which it what its actually doing. It's adding that to each page not the frameset code that is in index.cgi
Submitted by JamieCameron on Sun, 03/21/2010 - 23:49 Comment #6
You're right, that's a bug..
However, as a work-around why not instead just place that favicon.ico file in your overlay theme's directory?
Submitted by sgrayban on Wed, 03/24/2010 - 02:21 Comment #7
Because the docs do not mention this and second I didn't think of it.
If a favicon can be placed in the overlay why can't it be added to the VM config settings where there logo url is at ?
Submitted by sgrayban on Wed, 03/24/2010 - 02:36 Comment #8
Placing the favicon in the overlay directory doesn't work
Submitted by sgrayban on Wed, 03/24/2010 - 02:44 Comment #9
Actually it does work... however the theme does not work under cloudmin + VM installed
Submitted by JamieCameron on Wed, 03/24/2010 - 12:47 Comment #10
What goes wrong exactly when both cloudmin and Virtualmin are installed?
Submitted by sgrayban on Wed, 03/24/2010 - 18:02 Comment #11
The overlay doesn't work - neither the css or any html
Submitted by JamieCameron on Wed, 03/24/2010 - 19:06 Comment #12
Could you email me a tar.gz file of the overlay directory, so I can test it out myself?
Also, if you open https://yourserver:10000/favicon.ico directly in your browser, does it appear OK?
Submitted by sgrayban on Sun, 03/28/2010 - 19:51 Comment #13
https://webmin.borgnet.us:10100/favicon.ico works but doesn't show up with CM+VM installed.
I'll email you the overlay.
Submitted by JamieCameron on Sun, 03/28/2010 - 23:50 Comment #14
I think I see a case where this could fail - if you select the overlay theme at Webmin -> Change Language and Theme. Instead, select it globally at Webmin -> Webmin Configuration -> Webmin Themes..
Submitted by sgrayban on Mon, 03/29/2010 - 01:05 Comment #15
Not the case here. I went directly into webmin config then change theme.
Submitted by sgrayban on Mon, 03/29/2010 - 01:08 Comment #16
Attached screen shot
Submitted by JamieCameron on Mon, 03/29/2010 - 13:40 Comment #17
So if https://webmin.borgnet.us:10100/favicon.ico works OK (and it does for me too), doesn't this indicate that perhaps your browser is caching the old icon? When I go to https://webmin.borgnet.us:10100/ in my browser, the favicon shows up just fine..
Submitted by sgrayban on Tue, 03/30/2010 - 00:47 Comment #18
It's not just the favicon that isn't working the custom css isn't showing up either after logging in.
Go look yourself. Your normal support login is activated.
In firefox 3.6.2 linux the overlay is not working and I have cleared my cache more then once. If my overlay works in non-CM installs then it should work with CM.
Submitted by JamieCameron on Tue, 03/30/2010 - 16:10 Comment #19
So when I login as virtualmin-support , I see the favicon just fine, and the grey background which is what I presume your overlay CSS applies?
Submitted by sgrayban on Tue, 03/30/2010 - 16:38 Comment #20
uhh why am I not getting the same friggin thing then ?
Submitted by sgrayban on Tue, 03/30/2010 - 16:42 Comment #21
bloody hell
Just for shits and giggles I looked at the root user settings under webmin
Personal UI theme was set to vm framed theme instead of the global and I that was it. I unset that to use the global settings and the overlay theme worked.
Submitted by sgrayban on Thu, 04/15/2010 - 22:23 Comment #22