Log in

View Full Version : How to display content based on forum


Addicted2HD
08-12-2008, 06:26 PM
Is there a way to display content based on which forum is being viewed? The destination for this content would be in a right-hand sidebar column that is built into my skin.

example:

forum 28 and any thread in that forum would display "abc"

forum 29 and any thread in that forum would display "def"

I assume there must be a conditional statement that can be used for this, but I just don't know what it is or where to start.

TIA,
Scott

Dismounted
08-13-2008, 07:31 AM
<if condition="$foruminfo['forumid'] == 28">abc</if>
<if condition="$foruminfo['forumid'] == 29">def</if>