Coming Soon page

Permalink Browser Info Environment
What should I add to \application\config\app.php in order to redirect visitors to Coming Soon page when site is in maintenance mode?

Currently I have this:
'theme_paths' => [
        '/login' => 'pixel',
        '/register' => 'pixel',
        '/frontend/maintenance_mode' => 'pixel',
    ],

but it's not working - I receive this error "Call to a member function css() on null" when accessing the site as a guest. Login and register pages are working.

Thanks.

Type: Discussion
Status: Resolved
cristi78
View Replies:
shahroq replied on at Permalink Reply
shahroq
cristi78 replied on at Permalink Reply
cristi78
Then I will use Under Construction add-on for the time being.
Thanks.

concrete5 Environment Information

-

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.