2009-05-01, 10:24 PM
Go to AdminCP>Templates & Style>Templates>Your Theme Templates>Index Templates>index
and add
Wherever you want it on the index, above forums is above {$forums}. Do not put this above {$header}, or under {$footer} as it will distort your board.
This can be helpful for displaying announcements on the index page. Enjoy...
Demo Link: http://www.tncgraphics.mybbnew.com
and add
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Heading</strong></td></tr>
<tr><td class="trow1">
This is where you can put your content.
</td></tr>
</table><br>
for regular, non-collapsible boxes, or<table width="100%" cellpadding="6" cellspacing="1" border="0" class="tborder">
<tbody>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['newbox_e']}.gif" id="newbox_img" class="expander" alt="[-]" title="[-]" /></div>
<strong>Thead name</strong>
</td>
</tr>
</tbody>
<tbody style="{$collapsed['newbox_e']}" id="newbox_e">
<tr>
<td class="trow1">** Content Here **</td>
</tr>
</tbody>
</table>
<br />
(Thanks, Doobie) for collapsible boxes, obviously suiting the code for your needs.Wherever you want it on the index, above forums is above {$forums}. Do not put this above {$header}, or under {$footer} as it will distort your board.
This can be helpful for displaying announcements on the index page. Enjoy...
Demo Link: http://www.tncgraphics.mybbnew.com