Tags:
create new tag
, view all tags

Question

How do I turn off the left bar?

I renamed WebLeftBar to WebLeftBarOld.

The content is now gone but the WEB title is still there and it displays and error that says "Warning: Can't find topic WebLeftBar"

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: BeautifierPlugin? , CommentPlugin? , DBIQueryPlugin? , EditTablePlugin? , EmptyPlugin? , InterwikiPlugin? , PreferencesPlugin? , RenderListPlugin? , SlideShowPlugin? , SmiliesPlugin? , SpreadSheetPlugin? , TablePlugin? , TwistyPlugin? , WysiwygPlugin?
Server OS: linux
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Localisation

-- DonavonLerman - 12 Oct 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

You need to make a small template change. See I want to hide the left bar. For general template instructions see the top of that page.

-- ArthurClemens - 12 Oct 2007

I added the following line and attached hideleftbar.css to the WebPreferences page. Now the webleft is disabled just when I view the WebPreferences page. I would like the webleftbar disabled for all pages in this particular web (but not the whole twiki site). * Set USERSTYLEURL = http://www.twiki.org/p/pub/Support/TurnOffWebLeftBar/hideleftbar.css

-- DonavonLerman - 16 Oct 2007

ugg. I added this line:

* Set USERSTYLEURL = http://www.twiki.org/p/pub/Support/TurnOffWebLeftBar/hideleftbar.css

-- DonavonLerman - 16 Oct 2007

Does it work for you now?

-- ArthurClemens - 16 Oct 2007

No. I've tried a bunch of things and can't get it to work. - I put '* Set USERSTYLEURL = ...' as the 1st line of WebHome and it just shows up as a bullet on the page - I put it in WebPreferences as the 1st line under 'Web Preferences Settings' and the left bar is only disabled for WebPreferences

-- DonavonLerman - 16 Oct 2007

PatternSkinCssCookbookNoLeftBar shows the CSS way of hiding the left bar. See PatternSkinCssCookbook: Adding to existing CSS for general instructions using CSS.

To hide the left bar I would choose the template way, because that will not load the left bar at all (as opposed to CSS that will load the left bar but hide it from view).

-- ArthurClemens - 17 Oct 2007

Closing, thsi question seems to be answered.

-- PeterThoeny - 03 Dec 2007

 
Change status to:
Topic revision: r8 - 2007-12-03 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.