PDA

View Full Version : Conditional based on tags


tpearl5
28 Feb 2009, 19: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, 20: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, 22:26
hrm - I think I get it