Gossamer Forum
Home : Products : Gossamer Links : Discussions :

if FatherID eq '35'

Quote Reply
if FatherID eq '35'
Hi

I am using a <%if FatherID eq '35'%> tag in the category templete to apply a design effect to some categories....

Can that be modified to:

<%if FatherID eq '35' or '245'%> or something similar

or will it have to be

<%if FatherID eq '35'%>aaaa<%endif%>

<%if FatherID eq '245'%>aaaa<%endif%>

Or NOT?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] if FatherID eq '35' In reply to
Maybe this would work (untested);

<%if FatherID == 35 || FatherID == 41 %>
bla bla bla
<%endif%>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [katabd] if FatherID eq '35' In reply to
Try

<%if FatherID eq '35' or FatherID eq '245'%>

....
Quote Reply
Re: [Payooo] if FatherID eq '35' In reply to
Thanks

This did work..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory