Archive for howtodoit.myfastforum.org Walkthough guides for myfreeforum phpbb 2 forums
 


       howtodoit.myfastforum.org Forum Index -> Portals Explained
Symon

How to make your forum Dual Portal

You will need to change the portals in the code below to what you want.

You'll need to ADD this piece of code into your overall_header.tpl file AT THE BOTTOM

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr>
<!-- BEGIN switch_forum_view -->
    <td width="15%" align="center" valign="top">{MYFF.CURRENTTIME}<br />{MYFF.LOGIN}<br />{MYFF.TOPPOSTERS}</td>
<!-- END switch_forum_view -->
    <td valign="top" align="center">


and the bit below needs to be ADDED into your overall_footer.tpl file AT THE TOP

Code:
</td>
<!-- BEGIN switch_forum_view -->
    <td width="15%" align="center" valign="top">{MYFF.CURRENTTIME}<br />{MYFF.LOGIN}<br />{MYFF.TOPPOSTERS}</td>
<!-- END switch_forum_view -->
  </tr>
</table>


JUST TO MAKE THIS CLEAR
the width of the portal cells have been set to 15% so they expand and contract with varying screen resolutions to reduce the portals from squashing up the index page of your forum, you can however change them in a trial and error manner, so they are slightly wider.

As you can see I've placed the portal code into a 1 row 3 column table, also you'll notice the table is left open in the headers code and the table closes in the footers code, the reason for this is that the index body automatically gets placed in the middle cell with the portals either side.

Guide courtesy of NickNr

       howtodoit.myfastforum.org Forum Index -> Portals Explained
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum