TinyPortal

Development => Support => Topic started by: MoreBloodWine on August 23, 2007, 03:29:52 AM

Title: Disable the collapsing of the left and right block as a whole...
Post by: MoreBloodWine on August 23, 2007, 03:29:52 AM
TP 0.9.8
SMF 1.1.3

I know how to disable the collapsing of individual blocks... but what I want is to get rid of the ability to collapse the right and left blocks as a whole which as of now can be done by clicking the two icons up by the header to collapse them... I use to have a .txt file saved on my hard drive with what I needed to put the /* code here */ around to "disable" the code for that but I lost it. So can anyone help, Thx.
Title: Re: Disable the collapsing of the left and right block as a whole...
Post by: MoreBloodWine on August 23, 2007, 03:36:19 AM
NM I got it lol...
Title: Re: Disable the collapsing of the left and right block as a whole...
Post by: scottps6 on October 01, 2007, 05:16:10 AM
Still an answer to this would be great!, there must be something in the settings but I can't find it
Title: Re: Disable the collapsing of the left and right block as a whole...
Post by: scottps6 on October 01, 2007, 05:43:07 AM
I have done some searches but there seem to be some very protracted answers, help appreciated!
Title: Re: Disable the collapsing of the left and right block as a whole...
Post by: IchBin on October 01, 2007, 11:11:05 PM
This has been answered a few times before. Just remove the code.
http://www.tinyportal.net/index.php?topic=12594.0
Title: Re: Disable the collapsing of the left and right block as a whole...
Post by: Hairy on October 02, 2007, 06:34:32 AM
Quote from: IchBinâ,,¢ on October 01, 2007, 11:11:05 PM
This has been answered a few times before. Just remove the code.
http://www.tinyportal.net/index.php?topic=12594.0

The topic or board you are looking for appears to be either missing or off limits to you
Title: Re: Disable the collapsing of the left and right block as a whole...
Post by: G6Cad on October 02, 2007, 07:19:53 AM
// TinyPortal
if($context['TPortal']['leftbar'])
         echo '<td style="padding-left: 1ex;"><a href="javascript:void(0);" onclick="shrinkHeaderLeftbar(!current_leftbar); return false;"><img id="upshrinkLeftbar" src="', $settings['images_url'], '/', empty($options['collapse_leftbar']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTempLeftbar" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 0ex;" /></td>';
         if($context['TPortal']['rightbar'])
         echo '<td style="padding-left: 1ex;"><a href="javascript:void(0);" onclick="shrinkHeaderRightbar(!current_rightbar); return false;"><img id="upshrinkRightbar" src="', $settings['images_url'], '/', empty($options['collapse_rightbar']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 2px 0;" border="0" /></a><img id="upshrinkTempRightbar" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 0ex;" /></td>';
// TinyPortal end


Remove or mark that code out in the index.template.php
Title: Re: Disable the collapsing of the left and right block as a whole...
Post by: scottps6 on October 02, 2007, 11:16:56 AM
excellent, thank you