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
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 |
Oh, and use the theme handle of your theme instead of "yourtheme".
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.
To re-open this issue, reply to this message.
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:
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!