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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,044
  • Total Topics: 21,335
  • Online today: 319
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 244
  • Total: 245
  • lurkalot

Disable the collapsing of the left and right block as a whole...

Started by MoreBloodWine, August 23, 2007, 03:29:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MoreBloodWine

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.
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

MoreBloodWine

Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

scottps6

Still an answer to this would be great!, there must be something in the settings but I can't find it

scottps6

I have done some searches but there seem to be some very protracted answers, help appreciated!


Hairy

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

G6Cad

// 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


This website is proudly hosted on Crocweb Cloud Website Hosting.