I am using the Subsilver2 skin, and would like to have each category have a different background image on the index page. I got this to work in phpbb 2 by using the code below:
- Code: Select all
<div style="background-image: url(templates/xxx/images/cat_{catrow.CAT_ID}.gif); padding: 0; float: right; width: 400px; height: 28px; background-repeat:no-repeat;"></div>
I assume something similar will work with phpbb 3, but I'm unsure what the template variable for each category is. Can someone help me out with this template tweak?
An example I always use to explain it is here: HouseZeit
See the way each category has a different background image? I would like that on my forum, and I have in on my phpbb2 forum, but would like to include it on phpbb 3.










