Page 1 of 1

maintenance mode?

Posted: Mon May 14, 2018 3:42 pm
by marc
Is there some kind of maintenance mode that can be activated? When a user logs in, a message is to be displayed indicating that the system is in maintenance mode. All forms should then not be accessible. Only the administrator should be able to log in.

Re: maintenance mode?

Posted: Wed May 16, 2018 3:06 am
by admin
marc,

No there isn't.

Steven

Re: maintenance mode?

Posted: Wed May 16, 2018 6:51 am
by toms
Hi,

As there isn't a maintenance mode, you need to implement it yourself.

Something like this should work:

In PHP, BE: Run a query to check if maintenance mode is on
You would retrieve the maintenance time, message to be shown to the user etc. from a table.
Then show a message to the users and call nuLogout().

Re: maintenance mode?

Posted: Thu May 17, 2018 8:24 am
by admin
marc,

You could do this in the Javascript section of any Home Page used by Access Levels.

Code: Select all


if(nuUserName() != null){
    
    window.onbeforeunload == null;
    nuLogout();
    
}

Steven