PDA

View Full Version : forumid conditional on footer


chikuru
09-23-2012, 07:06 AM
I have a right sidebar and its code is in footer template..

Here is the structure of my code

<if condition="$forumid == 34">
CONTENTS FOR FORUM 34
</else>
<if condition="in_array($forumid, array(1,2,3,4))">
CONTENTS FOR 1,2,3,4
</else>
SHOW ON OTHER FORUMS
</if>
</if>

Nothing happen
Whats missing with my code?

Thank you!

kh99
09-24-2012, 10:46 AM
Try using $GLOBALS['forumid'] == 34 instead of $forumid.