Incorrect login page?

Permalink
I've set a page so that only registered users and administrators can view it. If I have a guest try to access it through a link, they'll be directed to a login page with whatever theme and whatever blocks I've put in there. While it takes me to my themed login page that I saved as a single page (/login), I'm just not seeing any of the custom blocks I've added to my custom login page, only the stuff that's hardcoded.

Any idea why this is? I'd really like to see the autonav and any custom blocks so that it's consistent with the rest of the site.

edenxavier
 
NUL76 replied on at Permalink Reply
NUL76
Are you using the view.php in your theme folder?

http://www.concrete5.org/help/faq/view-php-in-theme/...
Mnkras replied on at Permalink Best Answer Reply
Mnkras
what you can do, is copy /concrete/controllers/page_forbbiden.php and /concrete/single_pages/page_forbidden.php to /controllers and /single_pages,

open up page_forbidden.php from the controllers,

remove
$this->render('/login');

thats it :)

then theme that page :)
edenxavier replied on at Permalink Reply
edenxavier
Thanks. Now it works. :)