Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: If conditions on links template does not work: Edit Log

Here is the list of edits for this post
If conditions on links template does not work

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>

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

Edit Log: