MyBB Community Forums

Full Version: A little Portal code help please
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I don't think this is complex (for anyone that knows what they are doing);

I have a simple portal template;
Quote:<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
{$welcome}
{$pms}
{$latestthreads}
{$search}
{$stats}
{$whosonline}
</td>
<td>&nbsp;</td>
<td valign="top">
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>

and I want to add an image slideshow in a box to the right of this side panel, occupying say, the remainder of the horizontal screen. How do I add that box?

Then, do I create a new template for the contents of that box (i.e. code for the slideshow).

Many thanks in advance.

http://azbird.net/sightings/portal.php
After:

<td valign="top">
{$announcements}
</td>

Add:

<td>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Image Slideshow</strong></td>
</tr>
<tr>
<td class="trow1">
<!-- Slideshow code here -->
</td>
</tr>
</table>
</td>

Is this what you want?
(2012-09-23, 10:25 AM)Fábio Maia Wrote: [ -> ]Is this what you want?

Thanks, Fabio! That's just the direction I needed. Much appreciated.

Cool