Changing Web interface

Forum for questions and support relating to the 1.28.x releases only.
Locked
Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Changing Web interface

Post by Zmjm15 »

Hi guys,

I was wondering if there was any way to change the homepage of Zoneminder, to say something like "House X", intead of Zoneminder. Also on the login to change the name as well?

Many thanks
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Changing Web interface

Post by asker »

No automatic way to do it, but its very easy.
Just edit the relevant line in login.php for the login change and console.php for the main screen change.
They are both in skins/classic/views

Note that the next time you upgrade it will get removed
Zmjm15 wrote:Hi guys,

I was wondering if there was any way to change the homepage of Zoneminder, to say something like "House X", intead of Zoneminder. Also on the login to change the name as well?

Many thanks
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Changing Web interface

Post by PacoLM »

If you are referring to the name of the Tab when you open the zoneminder server in your web browser, then you could change it under Options:: Web::WEB_TITLE_PREFIX.

Hope it helps,

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Re: Changing Web interface

Post by Zmjm15 »

Yep that's done it!

Also,

Is there anyway I can restrict a specific user from being able to see the options and log ?

Many thanks
Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Re: Changing Web interface

Post by Zmjm15 »

Please ignore my last post I have now found it in the user's section!

Many thanks again all!
Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Re: Changing Web interface

Post by Zmjm15 »

Actually,

Just to follow up on this,

Anyone know how to make the new "Flat" skin the default skin to use for all users?

As mine keeps defaulting back to the classic when i clear my cache out.

Many thanks!
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Changing Web interface

Post by asker »

This used to be the case in earlier versions. To my knowledge, as of today if you go to options and select default CSS to flat it is written in the Database and if you clear your cookies it picks up the default from the DB.

Take a look at login.php around line 62 to get an idea of its order of checking for skin and its default if nothing is found.

Make sure you are on the latest version.
Zmjm15 wrote:Actually,

Just to follow up on this,

Anyone know how to make the new "Flat" skin the default skin to use for all users?

As mine keeps defaulting back to the classic when i clear my cache out.

Many thanks!
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Locked