START DISCUSSION LOGIN PAGE

Permalink Browser Info Environment
Hi,

If a person is not logged in and clicks 'start discussion' he is sent to the default C5 login page. How can I change this to a page in my site?

Thanks

Type: Discussion
Status: Archived
cleverington
View Replies:
EvanCooper replied on at Permalink Reply
EvanCooper
Hi Cleverington,

There is no functionality to change it to a page on your site. However, you can theme your login page by going to config/site_theme_paths.php in your concrete5 install and finding these lines:
/*
$v = View::getInstance();
$v->setThemeByPath('/login', "yourtheme");
$v->setThemeByPath('/page_forbidden', "yourtheme");
$v->setThemeByPath('/register', "yourtheme");
*/



and uncommenting the top two, like so:
$v = View::getInstance();
$v->setThemeByPath('/login', "mytheme");
/*
$v->setThemeByPath('/page_forbidden', "yourtheme");
$v->setThemeByPath('/register', "yourtheme");
*/


That way the login page will be displayed by your site's view.php file, and you can theme it from there.

Hope that helps!
EvanCooper replied on at Permalink Reply
EvanCooper
Oh, and use the theme handle of your theme instead of "yourtheme".
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

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

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.