Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Template parser

Quote Reply
Template parser
Jason,

I have the following code in a template of mine

<%elsif Link_Type ne 'sh' and $detailed_view%>

This is true if e.g. Link_Type eq 'ys' and detailed_view is true. With the same values of the two variables, the following lines are both not true

<%elsif detailed_view and $Link_Type ne 'sh'%>
<%elsif $detailed_view and $Link_Type ne 'sh'%>

And I just found out that

<%elsif detailed_view and Link_Type ne 'sh'%>

is true!!! What are the rules?

BTW: I know it's a Links SQL template, but you are The Template Parser Man, aren't you?

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Thread Template parser yogi 2008 Aug 17, 2002, 1:17 PM
Thread Re: [yogi] Template parser
Jagerman 1944 Aug 17, 2002, 5:10 PM
Post Re: [Jagerman] Template parser
yogi 1931 Aug 17, 2002, 11:28 PM