The Arcive of vBulletin Modifications Site. |
|
Catagory specific background image Details »»
|
|||||||||||||||||||||||||
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? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Please post template-related questions in the correct forum in future
![]() Thanks _________ Regarding your question. You would have to hack to achieve this ![]() - miSt |
|
#3
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
aha, that got parsed then...
<td background="{ imagesfolder}/$forum[forumid].gif" colspan="6"> is what i should have done
|
|
#5
|
||||
|
||||
|
Oops didn't read the question correctly
![]() So you have it all working now ?- miSt |
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
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.... |
![]() |
|
|