Hiya!
I got a tip a while back that I could use IF to determine if a form field should be shown on my include_form.html template.
I've tried it and it didn't work. What I tried was:
<%if Category eq 'SomeCat'%>
form field code
<%endif%>
First of all, why doesn't this work? Secondly, how does category vs sub-category factor into this? If I'm in the category Cat1->Cat2->Cat3, I would want the IF to count for the parent category and all sub-categories. Any ideas? :)
Cheers,
Hans Jørgen
www.dicereviews.com
I got a tip a while back that I could use IF to determine if a form field should be shown on my include_form.html template.
I've tried it and it didn't work. What I tried was:
<%if Category eq 'SomeCat'%>
form field code
<%endif%>
First of all, why doesn't this work? Secondly, how does category vs sub-category factor into this? If I'm in the category Cat1->Cat2->Cat3, I would want the IF to count for the parent category and all sub-categories. Any ideas? :)
Cheers,
Hans Jørgen
www.dicereviews.com