Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Need Help With Select Fields

Quote Reply
Need Help With Select Fields
I am putting in a mod for ezine information and have added a a field in links.def called: AdSwap, everything works fine except that the value printed to the page is 1 or 0 and should be yes or no, my question is how do I test this variable for the 1 or 0?

I have tried several different ways llike:

<%is AdSwap = "1"%>Yes<%endif%>

but it didn't work

Any help would be great.

Regards,

Hobbes

Quote Reply
Re: Need Help With Select Fields In reply to
You need to download and install the Enhanced Template.pm Mod located in the Resource Center that will allow to use more robust conditional statements in your template file.

Regards,

Eliot Lee

Quote Reply
Re: Need Help With Select Fields In reply to
Thanks, Eliot I got it working now.

Regards,
Hobbes :)

Quote Reply
Re: Need Help With Select Fields In reply to
You're welcome.

Regards,

Eliot Lee