![]() |
Catagory specific background image
i've been working on getting catagory specific background images, but i seem to have stumbled on a problem :/
okay, so in forumhome_forumbit_level1_nopost <tr id="cat"> <td background="{imagesfolder}/$forum[title].gif" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="#000000"><b>$forum[title]</b></normalfont></a> <br><smallfont color="#000000">$forum[description]</smallfont></td> </tr> the boldpart being where the background images is called, now why cant i use the $forum[title] tag to load an image?, the forum name being "Test", and the image being Test.gif .. is there a way to get around this so that each catagory can have its own image? |
Please post template-related questions in the correct forum in future :)
Thanks _________ Regarding your question. You would have to hack to achieve this :) - miSt |
i use $forum[forumid].gif - then use numbered images. so if your test forum was id 12 for example, your "test" image should be called "12.gif"
{imagesfolder}/$forum[forumid].gif etc etc |
aha, that got parsed then...
<td background="{ imagesfolder}/$forum[forumid].gif" colspan="6"> is what i should have done ;) |
Oops didn't read the question correctly :)
So you have it all working now :)? - miSt |
Quote:
|
ack, i meant what i had typed in my first post, $forum[forumid].gif etc... sorry, don't know where i am today heh
i'll edit my post again.... |
All times are GMT. The time now is 11:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|