Not Solved How to define this code for multiple forum ids?
#1
Not Solved
<if $GLOBALS['style']['fid'] != '3'  then>{myadvertisements[zone_4]}</if>

How can I define this for multiple forum id's? want 4 different forums excluded. tried to do it with array or just simply 4 lines of code but didn't work.
Reply
#2
Not Solved
it can be like this (where a, b, c, d are required fid numbers)
<if !in_array($GLOBALS['style']['fid'], array(a,b,c,d)) then>{myadvertisements[zone_4]}</if> 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)