PDA

View Full Version : Need a conditional for when I'm in a certain forum in threadbit template


BirdOPrey5
06-30-2010, 02:36 AM
$forum[forumid] doesn't seem to work in the threadbit template... I need a way to find out if If a certain forum is being displayed in forumdisplay... basically
<if conditional="$forum[forumid] == 2">
do something
</if>
But with a conditional that works...
$thread[forumid] gives me the forumid of the thread title, as expected.

--------------- Added 1277869234 at 1277869234 ---------------

That was quick...
<if condition="$foruminfo[forumid] == 2">
works. :)

Boofo
06-30-2010, 02:43 AM
Have you tried foruminfo instead of forum?

BirdOPrey5
06-30-2010, 07:19 AM
Yep... I figured it out right before you posted, thanks.

Boofo
06-30-2010, 09:39 AM
Yes, I saw that. ;)