PDA

View Full Version : Conditional problem


CrashfAB
03-18-2012, 11:05 PM
Here is the code

<if condition="$forum[forumid] == 32">Image picture</if>

So when they are in a certain forum (forum ID 32) I want a certain picture to show. For some reason the above code isn't working.

This is VBB 3.8.6 and the code is in the navbar template.

I am at a loss...

Lynne
03-18-2012, 11:14 PM
Have you tried just $forumid instead? Or $foruminfo['forumid']?

CrashfAB
03-19-2012, 02:10 AM
Thanks Lynne it looks like $foruminfo worked..