PDA

View Full Version : Conditional based on tags


tpearl5
28 Feb 2009, 20:12
Anyone know of a way to do this?

<if condition="in_array('TAG', array($threadinfo['taglist']))">stuff</if>

Doesn't seem to work.

Lynne
28 Feb 2009, 21:19
You probably need to explode the taglist first. You'll need to add a plugin to do that since it is php. (google "explode php")

tpearl5
28 Feb 2009, 23:26
hrm - I think I get it