Hi,
I've changed to using the flat skin however, everytime I visit my zm It defaults back to the orginal skin and I have to change it back to flat, is there a bug with my install?
Default Skin
Re: Default Skin
Cookies?
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: Default Skin
Ooh cookies I'm hungry now! sorry bad joke
I've tried deleting my cookies and tried another PC and browser, however no luck, If I change the default skin to flat it will default back to classic when I sign out.
I've tried deleting my cookies and tried another PC and browser, however no luck, If I change the default skin to flat it will default back to classic when I sign out.
Re: Default Skin
If you want to change the skin so "flat" becomes the default skin, that adjust classic into flat in file /usr/share/zoneminder/index.php as shown below.
into
I've made some more changes in de code myself, and will see if I can donate them to the developer.
Code: Select all
if ( isset($_GET['skin']) )
$skin = $_GET['skin'];
elseif ( isset($_COOKIE['zmSkin']) )
$skin = $_COOKIE['zmSkin'];
else
$skin = "classic";
Code: Select all
if ( isset($_GET['skin']) )
$skin = $_GET['skin'];
elseif ( isset($_COOKIE['zmSkin']) )
$skin = $_COOKIE['zmSkin'];
else
$skin = "flat";
Re: Default Skin
Thanks for this, I'll give it a go later.
I was just wondering if the system defaults for it to switch back or if their was a bug with my system.
I was just wondering if the system defaults for it to switch back or if their was a bug with my system.
-
- Posts: 374
- Joined: Wed Nov 07, 2007 1:59 am
- Location: Huntington Beach, California
- Contact:
Re: Default Skin
You can use "?skin=skinname" to specify which skin to use:
Code: Select all
https://192.168.1.6/zm/index.php?skin=flat
Re: Default Skin
But do I need to specify https://x.x.x.x/zm/index.php?skin=flat everytime I login?
Re: Default Skin
Yeah, that's what I've been doing (just updated my Zoneminder bookmark to include the skin parameter).Biggus wrote:But do I need to specify https://x.x.x.x/zm/index.php?skin=flat everytime I login?