SID-01522: How to show the sidebar ?
| Status: |
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:
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
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.