Hi to all,
I have website actually in mantainance mode. I'd like to grant the preview of the front-end for certain users. So i tried to add login form at mantainance page.
Create a mantanaince layout in which i call frameork extra, script and jquery.js (that i copy from demo theme, sure that it works) Create a mantainance page with account component with url /mantainance:code? Than added session component to all layouts
And it don't works
than i study relax theme by daftpunk and use this form and added to mantainance page to login directly call ajax component from here: https://github.com/rainlab/relax-theme/blob/master/partials/snippets/login.htm
Naturally the form works but i 'm redirect to mntainane page. I think that could be a funcion onRun that fire mantainance page when user is logged but honestly can't figure out how to do it.
Thanks! Bye
Last updated