Tags:
create new tag
view all tags

SID-01522: How to show the sidebar ?

Status: Answered Answered TWiki version: 5.1.1 Perl version:
Category: CategorySkin Server OS: ubuntu Last update: 13 years ago

How to show/enable the sidebar in a certain WEB while using topmenu skin. I just couldn't figure it out. I use %IF% staement in the template but no result. thanks.

-- MichaelSevero - 2012-08-26

Discussion and Answer

The TopMenuSkin redefines a few template DEFs that need to be restored to the way the PatternSkin has them originally. Put the attached file view.addleftbar.tmpl into your twiki/templates/ directory and activate the additional addleftbar skin either by defining the whole skin chain, such as:

  • Set SKIN = tagme,addleftbar,topmenu,pattern

Or by adding a cover, e.g. prefixing the addleftbar skin to the existing skins:

  • Set COVER = addleftbar

You can define this in the WebPreferences of the web(s) where you want to enable the sidebar.

-- PeterThoeny - 2012-08-28

I enhanced now the TopMenuSkin to support a WEBLEFTBAR setting to easily enable a sidebar. See skin docs for details.

-- PeterThoeny - 2012-08-29

Thanks Peter, your first example there gave me more insight in manipulating the skin. ( I learned by example)

Thanks.

-- MichaelSevero - 2012-08-29

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title How to show the sidebar ?
SupportCategory CategorySkin
TWiki version 5.1.1
Server OS ubuntu
Web server apache
Perl version

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formattmpl view.addleftbar.tmpl r1 manage 0.4 K 2012-08-28 - 07:22 PeterThoeny  
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-08-29 - MichaelSevero
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.