Gossamer Forum
Home : Products : Gossamer Links : Discussions :

login when user clicks a category

Quote Reply
login when user clicks a category
I was to have a closed system. I run links in dynamic mode and want all people to signup before browing the database. So if they click any category it will have them goto the logon screen (unless their currently loggged on).

Years ago I posted this and got a response - simply do not recall as we lost the templates :(

Quote Reply
Re: [rwfrier] login when user clicks a category In reply to
You could probably use something like the below on your category.html template

<%ifnot Username%><a href="<%db_cgi_url%>/user.cgi"><%Short_Name%></a>
<a href="<%URL%>"><%Short_Name%></a>