Log in

View Full Version : Different Banner For Each Forum


mcyates
02-01-2007, 03:10 PM
Is it possible to have a different banner for each forum. When i say banner I mean the banner in the header template. Just so the forums look a little more personalised for each forum. I can't be bothered creating hundreds of new styles for each forum.

Thanks

tim356
02-10-2007, 10:00 AM
I too would like to work out how to do this.

I tried using conditionals, ie:
<if condition="$forum[forumid]==1">
header for forum #1 goes here
<else />
<if condition="$forum[forumid]==2">
header for forum #2 goes here
<else />
main header goes here
</if>
</if>
but that doesn't work for some reason.

SleptOn22
02-11-2007, 04:04 AM
I'm a novice myself, but the best answer that I can come up with is to create a different style for every forum. Each being identical except with a change in header.

ADMINCP>Styles and Templates>Style Manager>Dropdown Menu>Add New Template

tim356
02-11-2007, 04:06 AM
Nope, that code above does work - for some reason it wasn't for me yesterday, but now it is!

I was doing this because we've had exactly as you suggested for the last 12 months or so and having 20+ styles is a real pain!

Thanks anyway!

mcyates
03-12-2007, 06:09 PM
Thank mate I'm going to try this in a bit.

that didn't work.

<if condition="$foruminfo[forumid]">
<td align="$stylevar[left]"><a href="/forums.php">
<div><img src="images/header_images/$foruminfo[forumid].gif" alt="$foruminfo[title]" border="0"/></div></a></td>
<else />
<td align="$stylevar[left]"><a href="/forums.php">
<img border="0" src="http://www.myfootballforum.com/images/myfootballforum5.jpg" width="800" height="90"</a></td>
</if>

I tried this code and that doesn't work either