These instructions are with table(s) added into the empty column you see after using the instruction provided by Floris & Jake Bunce tutorials in Quick Tips forum. I have little changes, but in whole it is the same. This is for displaying under navbar menu. If you are using a portal, you can add modules within forum and those instruction are posted within other sites forums.
Left Column Table
# find in template: footer
# add 'leftside column' close table code
# optional: to display in certain pages and not all, add conditional statement
Example of conditional to display in three selected forum pages and must be applied to other code in same manner.
# find in template: navbar
# add 'leftside column' open table code
# optional: to display in certain pages and not all, add conditional statement
Example of conditional to display in three selected forum pages and must be applied to other code in same manner.
Use array for mutiple pages, as conditional above might not work
Left Column Table
Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > footer
# find in template: footer
# add 'leftside column' close table code
# optional: to display in certain pages and not all, add conditional statement
Code:
[COLOR="Blue"]$spacer_close <!-- /content area table --> [COLOR="Red"]<!-- leftside column --> </td> </tr> </table> <!-- / leftside column -->[/COLOR] <form action="$vboptions[forumhome].php" method="get">[/COLOR]
Code:
[COLOR="Blue"]$spacer_close <!-- /content area table --> [COLOR="#008000"]<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">[/COLOR] [COLOR="Red"]<!-- leftside column --> </td> </tr> </table> <!-- / leftside column -->[/COLOR] [COLOR="#008000"]</if>[/COLOR] <form action="$vboptions[forumhome].php" method="get">[/COLOR]
Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > navbar
# find in template: navbar
# add 'leftside column' open table code
# optional: to display in certain pages and not all, add conditional statement
Code:
[COLOR="Blue"]<!-- / PAGENAV POPUP --> </if>[/COLOR] [COLOR="Red"]<!-- leftside column --> <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;"> <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center"> <!-- leftsidebar_1 --> <thead width="150" valign="top"> <tr align="center"> <td class="thead"> Left Column </td> </tr> </thead> <tbody> <tr align="center"> <td class="tcat"> <a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a> <!-- title start --> Left Column Bar <!-- / title end --> </td> </tr> </tbody> <tbody id="collapseobj_leftsidebar_1" style=""> <tr align="center"> <td class="alt2"> <!-- leftbar_1 code --> <!-- / leftbar_1 code --> </td> </tr> </tbody> <!-- / leftsidebar_1 --> </table> </td> <td valign="top"> <!-- / leftside column -->[/COLOR]
Code:
[COLOR="Blue"]<!-- / PAGENAV POPUP --> </if>[/COLOR] [COLOR="#008000"]<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">[/COLOR] [COLOR="Red"]<!-- leftside column --> <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;"> <table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center"> <!-- leftsidebar_1 --> <thead width="150" valign="top"> <tr align="center"> <td class="thead"> Left Column </td> </tr> </thead> <tbody> <tr align="center"> <td class="tcat"> <a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a> <!-- title start --> Left Column Bar <!-- / title end --> </td> </tr> </tbody> <tbody id="collapseobj_leftsidebar_1" style=""> <tr align="center"> <td class="alt2"> <!-- leftbar_1 code --> <!-- / leftbar_1 code --> </td> </tr> </tbody> <!-- / leftsidebar_1 --> </table> </td> <td valign="top"> <!-- / leftside column -->[/COLOR] [COLOR="#ff0000"]</if>[/COLOR]
Code:
[COLOR="Green"]<if condition="in_array(THIS_SCRIPT, array('index','forumdisplay','showthread'))">[/COLOR]
Comment