Gossamer Forum
Home : Products : Gossamer Links : Discussions :

elsif statement question ?

Quote Reply
elsif statement question ?
I am doing an elsif statement but wasnt sure if this is possible.

For example I'm doing rating with a statement and then the elsif of a rating within a specific category

<%if Rating%>
regular Rating info goes here
<%elsif Rating in Category eq 'Crazy'%>
Crazy rating for crazy category
<%endif%>


I tried this and it didnt work

If someone can help me out with the correct statement I would greatly appreciate it

Thanks Smile
Quote Reply
Re: [incik] elsif statement question ? In reply to
Try

<%elsif Rating and Full_Name eq 'Crazy'%>

I don't know on which page you are trying to do this, but depending on that, you might need something else than "Full_Name". Use <%GT::Template::dump%> to find out what template tags are availble on the specific pages.

Ivan
-----
Iyengar Yoga Resources / GT Plugins