TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 90
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 85
  • Total: 85

Center Block below main body

Started by mildmanneredj, January 08, 2008, 03:10:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shawnlg

In the theme section goto your index.template.php file with in your theme around number 250 find this
        echo '<td width="100%" align="left" valign="top" style="padding-top: 10px; padding-bottom: 10px;">';
        if($context['TPortal']['centerbar'])
                     echo '<div>' , TPortal_sidebar('center') , '</div>';

}

function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt , $user_info;


   echo '</td>';


Replace it with this..
        echo '<td width="100%" align="left" valign="top" style="padding-top: 10px; padding-bottom: 10px;">';
       

}

function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt , $user_info;
if($context['TPortal']['centerbar'])
echo '<div>' , TPortal_sidebar('center') , '</div>';
   echo '</td>';


Thats it.  It may be different from theme to theme but I have checked out a couple and it relitively has the same code here.  I hope this helps other people.

Remember this only moves the center blocks from the top to the bottom.  It does not give you the option from center block to center block.


This website is proudly hosted on Crocweb Cloud Website Hosting.