Gossamer Forum
Home : Products : Gossamer Links : Discussions :

<%ifnot login%> question

Quote Reply
<%ifnot login%> question
I pulled this code from "Gossamer Threads template syntax documentation". Is this still the correct coding to use to display information to people not logged in. It is not working on my detail page.

<%ifnot login%>
You are not logged in!
<%endif%>

Thanks!
Quote Reply
Re: [Soren] <%ifnot login%> question In reply to
That's general template syntax, not a real glinks example. Take a look at include_header.html to see how it's done in glinks. In particular:
Code:
<%if user.Username%>Logout<%else%>Login/Register<%endif%>

Adrian
Quote Reply
Re: [brewt] <%ifnot login%> question In reply to
Perfect. Thanks for the quick reply! :)