PDA

View Full Version : Banner in certain forum


kyokushin4life
07-30-2010, 04:36 PM
Hi there.

How do I display a banner in certain forum?

Say.. in a forum 'forumdisplay.php?f=136' i want to display a banner in a template. a snippet code would be awesome.

cheers.

kyokushin4life
07-31-2010, 11:26 PM
Anyone has a snippet I could use for using in template to achieve this? I'm using v3.7.x

Cheers.

Lynne
07-31-2010, 11:40 PM
If would help to know what template you are putting the code in (the variable could vary based on template), but you can try this:
<if condition="$forumid == xx">
banner code
</if>

kyokushin4life
08-01-2010, 12:01 AM
Hi Lynne thansk for that.

Ill be using it in showthread template.

I believe you had a typo.

<if condition="$forumid == xx">
banner code
</if>

Lynne
08-01-2010, 12:09 AM
Yep, I did have a typo. Sorry about that.