Hey, we had created a web application, but now it needs to have under maintenance feature. So how can I achieve this and is there any plugin for that?
Hello,
There is no feature for maintenance. I think the best way is to create a maintenance page and redirect every other page to this page
1 Like
Hi, you could also restrict all your pages to an empty group of user, so everybody gets redirected to a specific page.
1 Like
How do we do the redirection?
- Create a boolean variable “maintenanceMode” with default at false
- In your back office, add a switcher bind to “maintenanceMode” value
- add a on change workflow to the switcher in order to change maintenanceMode variable
- add general workflow, “on page load, before fetch collection”.
- In this workflow a pass through condition bind to your maintenanceMode Variable
- add a change page action and select your maintenance page
At this time, when you change maintenance mode to true in your back office, all user will be directed to the maintenance page.
2 Likes