JohnMck93 Posted January 21, 2010 Report Posted January 21, 2010 im trying to put up a login box on my home page but when the user is logged in i want the box to go away and when you log out it comes back up, i tried to copy some of the default coding and it did not work. Quote
Administrators simpilot Posted January 21, 2010 Administrators Report Posted January 21, 2010 How about -> <?php if(!Auth::LoggedIn()) {$this->show('login_form.tpl'); } ?> Quote
JohnMck93 Posted January 21, 2010 Author Report Posted January 21, 2010 i then get this error Parse error: syntax error, unexpected T_STRING in /www/zzl.org/s/u/n/sunsetva/htdocs/lib/skins/SSVA/header.tpl on line 82 Quote
Administrators Nabeel Posted January 21, 2010 Administrators Report Posted January 21, 2010 Sounds like you didn't close a quote somewhere around that line it says Quote
JohnMck93 Posted January 22, 2010 Author Report Posted January 22, 2010 then im getting a php error with $end Quote
Administrators Nabeel Posted January 22, 2010 Administrators Report Posted January 22, 2010 Then a close bracket is missing Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.