Daryn
12-16-2011, 08:54 PM
Hello.
I'm trying to add an image to the left of the forums on the FORUMDISPLAY template. I'm doing this based on a template conditional so that it will show a different image based on the forum you're in.
For example:
<vb:if condition="in_array($forumid, array(10,12,16,23))">
<div>
<img src="images/chars/librarian_bunny_sidebar.png">
</div>
</vb:if>
I am trying to put this into FORUMDISPLAY above this bit of code.
<vb:if condition="$forumbits">
{vb:raw template_hook.forumdisplay_above_subforums}
<div id="forumbits" class="forumbits">
<div class="forumhead">
I put my code right above the forumhead div.
My conditional works and it does display only on the specific forums, but it displays above the forumbits instead of beside them.
Can anyone help me out here to get my image to show as intended?
Thanks.
I'm trying to add an image to the left of the forums on the FORUMDISPLAY template. I'm doing this based on a template conditional so that it will show a different image based on the forum you're in.
For example:
<vb:if condition="in_array($forumid, array(10,12,16,23))">
<div>
<img src="images/chars/librarian_bunny_sidebar.png">
</div>
</vb:if>
I am trying to put this into FORUMDISPLAY above this bit of code.
<vb:if condition="$forumbits">
{vb:raw template_hook.forumdisplay_above_subforums}
<div id="forumbits" class="forumbits">
<div class="forumhead">
I put my code right above the forumhead div.
My conditional works and it does display only on the specific forums, but it displays above the forumbits instead of beside them.
Can anyone help me out here to get my image to show as intended?
Thanks.