I have made a logout button and hard coded it after the login button:
Everything works but when not logged in both buttons are visible. When logged in only the Logout button is visible. What's the condition to use to make a Blockif to wrap around my logout code so that it does not show when you are not logged in?
Thanks to all
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22AreRegCustomersAllowed%22%20%2f%3e"> <Actinic:NOTINB2B> <actinic:variable name="NavigationIcon" value="Login Image Navigation Button" /> </Actinic:NOTINB2B><a href="<actinic:variable name="WebSiteURL" />/cgi-bin/bb000001.cgi?ACTION=LOGOUT" target="_self" onmouseover="SwapImage('nav_logout','button_logout_highlight.gif')" onmouseout="RestoreImage()"><img src="button_logout.gif" alt="Log Out" border="0" name="nav_logout" /></a> </actinic:block>
Thanks to all
Comment