Gossamer Forum
Home : Products : Gossamer Links : Discussions :

If conditions on links template does not work

Quote Reply
If conditions on links template does not work
Hello

I am setting Links SQL to show detailed pages on only few links. I went the PDF manual, there is perfect example right there, but it would not work for me.

I have created column in links called "LinkType" which is radio button with options as "Regular" and "Detailed" as in the example.

Now, the links that I would like to have the "detailed button" to show in through links.html template, I guess this is what we are supposed to do, but it does not do anything for me.

<%if LinkType eq ‘Detailed’%>
<a href="<%detailed_url%>">Detailed</a>
<%endif%>

This does not print anything at all. I have also tried printing just <%LinkType%> to see if the values are actually there, and yes it does print. Only what does not work is the if statement.

Any help will be greatly appreciated.

Last edited by:

bobbyriat: Jul 24, 2003, 2:53 PM
Subject Author Views Date
Thread If conditions on links template does not work bobbyriat 769 Jul 24, 2003, 2:51 PM
Post Re: [bobbyriat] If conditions on links template does not work
yogi 730 Jul 24, 2003, 3:37 PM
Post Re: [bobbyriat] If conditions on links template does not work
bobbyriat 724 Jul 24, 2003, 3:43 PM