Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: [Stealth] Enhanced Template Parser

Quote Reply
Re: [Stealth] Enhanced Template Parser In reply to
Thanks....I appreciate the suggestion and it was a good idea but didn't work - but you offered no guarantee

I tried a few variations but apparently it is looking for text after the EQ

Actually, I do have a gender field but it's not about that and besides I want to be able to use it elsewhere

since the field can only have one value I guess I could do something like

Quote:
<%if Prefix eq 'Mrs'%>
<%include mrs.html%> <%endif%> <%if Prefix eq 'Ms'%>
<%include ms.html%>
<%endif%>
<%if Prefix eq 'Miss'%>
<%include miss.html%>
<%endif%>

I was trying to avoid that since the code for each is similar and almost duplicated in some parts

I guess I could put the duplicate parts in a sub-file and do a nested include

gets a little messy but not too bad


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Subject Author Views Date
Thread Enhanced Template Parser esm 4721 Sep 7, 2002, 3:21 PM
Thread Re: [esm] Enhanced Template Parser
Stealth 4614 Sep 7, 2002, 3:30 PM
Thread Re: [Stealth] Enhanced Template Parser
esm 4608 Sep 7, 2002, 4:17 PM
Thread Re: [esm] Enhanced Template Parser
Stealth 4600 Sep 7, 2002, 4:24 PM
Post Re: [Stealth] Enhanced Template Parser
esm 4601 Sep 7, 2002, 5:28 PM
Thread Re: [esm] Enhanced Template Parser
Paul 4601 Sep 7, 2002, 5:08 PM
Thread Re: [Paul] Enhanced Template Parser
Stealth 4596 Sep 7, 2002, 9:06 PM
Post Re: [Stealth] Enhanced Template Parser
Paul 4578 Sep 8, 2002, 2:11 AM