MyBB Community Forums

Full Version: Portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

How can I add a new block to the left and right on the portal

Thanks
You'd have to add it to the "portal" template (it's in the "Portal Templates" category in the Template manager). This is the basic code for a block:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>BLOCK TITLE</strong></td>
</tr>
<tr>
<td class="trow1">
BLOCK CONTENT
</td>
</tr>
</table>
<br />

To put a new block on the left bar, you can add the above code after:
{$latestthreads}

For a block on the right, you need to first find:
{$announcements}
</td>
And after that, add:
<td valign="top" width="200">
YOUR BLOCK CODE HERE
</td>
Thanks for this but where are the {$pms} defined thanks
It's probably in a template called portal_pms or something similar I can't recall the exact name off the top of my head.