tubadc Posted May 22, 2007 Share Posted May 22, 2007 So im trying to do something like this {if $incorrect} {$LANG.loginincorrect} {/if} in homepage.tpl , but it isnt work.... im redirecting the client login to goto=index , but if the client error the login doesnt show nothing...., how can i do it??? Tks Link to comment Share on other sites More sharing options...
0 trine Posted May 22, 2007 Share Posted May 22, 2007 are you trying to test if someone is logged in? then do this {if $loggedin} ...message or code {else} ...message or code {/if} or if only for non logged-in users: {if !$loggedin} ...message or code {/if} Link to comment Share on other sites More sharing options...
0 tubadc Posted May 22, 2007 Author Share Posted May 22, 2007 nice. solved....! Link to comment Share on other sites More sharing options...
Question
tubadc
So im trying to do something like this
{if $incorrect}
{$LANG.loginincorrect}
{/if}
in homepage.tpl , but it isnt work.... im redirecting the client login to goto=index , but if the client error the login doesnt show nothing...., how can i do it???
Tks
Link to comment
Share on other sites
2 answers to this question
Recommended Posts