Hi there, i have a tabulated css layout that needs a class assigning it as selected, I want to define this selected class by the parentID, or of the parentList contains X
However since this checks for a match rather than a contains i am stuck as i am not sure how to check with an array i did have something liek this but to no avail.
Please help!
Code:
<if condition="$foruminfo[parentlist] == X">class="selected"</if>
Code:
<if condition="in_array('X', array($parentlist))">class="selected"</if>
Comment