No error messages in theme login page

Permalink
I have defined to use my own theme in login page in site_theme_paths.php:
$v->setThemeByPath('/login', "theme");

The problem is that it does not display any error message when the user fails to login. It just displays the login page again.

I tried the normal login page of concrete5 and it seems to work fine.

Is there something different in the theme login page which could cause this?

Hypocrite
 
nebuleu replied on at Permalink Best Answer Reply
nebuleu
You have to add this line in the view.php of you theme folder before the $innerContent :

<?php Loader::element('system_errors', array('error' => $error)); ?>


http://www.concrete5.org/documentation/recorded-trainings/custom-te...

http://www.concrete5.org/documentation/how-tos/designers/themimg-sy...
Hypocrite replied on at Permalink Reply
Hypocrite
Thanks!