SID-00950: WebLeftBar is above page content and not to the left
| Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
5.10.1.1007 |
| Category: |
CategorySkin |
Server OS: |
Windows XP |
Last update: |
15 years ago |
Hi,
I am trying out Twiki as supplied with no other plugins or skins.
I just installed and started to customize when I added the following %INCLUDE{%MAINWEB%.WebLeftBar}% to the main page to get the leftbar.
The leftbar displays correctly on the left but the page content is pushed down below the leftbar instead of beside the leftbar.
Any ideas? Thanks.
--
TomVeil - 2010-08-18
Discussion and Answer
You need to handle that at the template level.
twiki/templates/view.topmenu.tmpl overloads template definitions
leftbar and
leftbardimensions of the
PatternSkin, e.g. removes the sidebar.
To restore the sidebar you can remove these lines in
twiki/templates/view.topmenu.tmpl:
%TMPL:DEF{"leftbar"}%%TMPL:END%
%TMPL:DEF{"leftbardimensions"}%%TMPL:END%
Or, better yet (for ease of upgrade), overload those settings in a new skin or custom layout. Details at
PatternSkinCssCookbook and
PatternSkinCustomization.
--
PeterThoeny - 2010-08-18
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.