Login error display
PermalinkThe reason I ask is that the 'normal' way is to override the core login page by putting a copy of the login.php file found at "root/concrete/single_pages" into "root/single_pages" and start tinkering from there.
I'm sure there are a gazillion other ways to make a custom login page but why re-invent the wheel. ;)
http://www.concrete5.org/community/forums/themes/customizing-login-...
Video explanation by Tallacman:
http://performancec5.com/how-to/styling-the-login-page/...
You don't have any open tags but you have used '<ul id="subnavlist">' in 3 different places. ID's must only be used only be used once per page. I believe this will cause the css to only style the first element. Since these <ul>'s are in your nav, I'm pretty sure your nav will not display properly. You might already know this but to fix it, change them to '<ul class="subnavlist">' in your HTML and change the css so that #subnavlist becomes .subnavlist.
One quick question that's off topic... Is there a reason why you are hard-coding the navigation structure? Part of the beauty of C5 is that the autonav block handles all the menu structure so that when you add pages to your site, they automagically get added to your navigation structure.
Thanks on the multiple <ul id=subnavlist> tags. I will fix that.
I was on a deadline and am still new to c5, so after trying to get the jquery nav menu to work right using the autonav block, I switched to hard coding. I will try again now that I have more time.
Thanks!
I have attached a very simple view.php file. Try temporarily renaming your view.php and placing the attached view.php file in your theme directory and see what happens.
This file does not call your header.php or footer.php so you won't have your navigation. It's just to try to cut out as many variables as possible so we can find the culprit.
So I put your view.php code in place of my theme's view.php, and no change to the login or register pages (doesn't appear to be using my view.php file or something). Still doesn't show errors also.
I cleared cache and reinstalled theme through dashboard, to be sure.
Edit: Grr, hold-on, it doesn't look like my upload change for view.php took.
Edit2: Ok, Dreamweaver wasn't updating the file, so I just updated it using FileZilla. You can see by entering a random (non registered user) that it doesn't show any error messaeges:
http://digital-nw.com/pndc/c5/index.php/login/do_login/...
Try this:
Try to log in with a bad login. After the page refreshes, use your mouse to highlight the area just under your "Reset and Email password" button.
Your error message shows up as black text on a black background.
It's all the default text (no error messages).
<?php Loader::element('system_errors', array('error' => $error)); ?>
This did the trick. I missed this when I was searching documentation previously. Thanks for all your replies!
I stripped it out trying to eliminate as many variables as possible. Sorry, I cost you a few days.
Glad it's working.
Hope this helps - be sure to mark it as an answer if it does.
Job.