PDA

View Full Version : Conditional TAG Needed


A.Chakery
07-27-2012, 10:27 AM
Hello,

I need a conditional tag for putting some custom codes in specific forum/forums (both)

any help is really appreciated ...

I tried this code but it didn't work

<if condition="$forum[forumid] == X"></if>


thank you

kh99
07-27-2012, 12:00 PM
You could try this:

<if condition="in_array($foruminfo[forumid], array(X, Y, Z...))">
</if>