SID-00911: WebLeftBar at the edit page?
| Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
5.10.1 |
| Category: |
CategorySkin |
Server OS: |
Mac |
Last update: |
15 years ago |
Hi,
is it possible to show the
WebLeftBar at every edit page?
I´m using the pattern skin.
Thx in advance!!!
--
RavenRwho - 2010-07-24
Discussion and Answer
Some pointers: To add the left bar to the edit screen, customize the
"content" template definition of the edit template
edit.pattern.tmpl, using a table layout or a float div layout. The left side should have this content, taken from
viewleftbar.pattern.tmpl:
* [[%BASEWEB%.%HOMETOPIC%][%ICON{"web-bg-small"}% <nop>%BASEWEB%]]
%INCLUDE{"%WEB%.WebLeftBar"}%
I recommend to overload the edit template, that is much cleaner than patching the existing template, e.g. you avoid upgrade headaches later on. See
PatternSkinCustomization,
PatternSkinCssCookbook.
Adding the sidebar has the disadvantage that it is much easier to navigate away from an edit page, possibly losing unsaved content.
--
PeterThoeny - 2010-07-24
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.