PHP Classes

{if (!isLoggedIn)} not working

Recommend this page to a friend!

      ExTemplate  >  All threads  >  {if (!isLoggedIn)} not working  >  (Un) Subscribe thread alerts  
Subject:{if (!isLoggedIn)} not working
Summary:The ! (NOT) for boolean operations is not working
Messages:1
Author:Martin Neitz
Date:2017-05-26 14:24:38
 

  1. {if (!isLoggedIn)} not working   Reply   Report abuse  
Picture of Martin Neitz Martin Neitz - 2017-05-26 14:24:38
it seems that the {if} is only working for the (true) statment
{if (isLoggedIn)} Welcome {UserName} {/if}

but not for the (! false)

{if (!isLoggedIn)} You are not signed in. <a href="{SignInLink}">Sign In?</a> {/if}

any Idea how to solve it?