Maintenance mode page per theme
If I place a maintenance_mode.php file in my theme folder along the other files, and add
(or any variation thereof), it doesn't work. This does work for say, the login page.
So, in short:
/themes/myTheme/login.php $v->setThemeByPath('/login/', "myTheme");
/themes/myTheme/maintenance_mode.php $v->setThemeByPath('/maintenance_mode/', "myTheme");
Browsing through the code hasn't gotten me any further so far. I take it it has something to do with the fact that maintenance mode doesn't have a path/url, so this won't work. Any ideas?
and rebuilt a few single pages according to that guide, and again, it works for every single page except the maintenance mode. I can get the content just find, but it refuses to apply my theme to it.
and add the single page in the c5 backend.
Then you need to add a header to the single page.
<?php Loader::element('header_required'); ?>
But i still get no styles applied to the page.