Jump to content
  • 0

How to show something only if isnt logged....


tubadc

Question

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

  • 0

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated