Question
Hello,
I would like to modify the content of the left bar of my own web page and did it by changing the content of the topic "WebLeftBar". It works, but it works extensively to all the twiki users. How can I do not affecting others' page?
Regard
Chengguang ZHU
Environment
--
ChengguangZhu - 27 Nov 2007
Answer
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.
Every web has a topic called
WebLeftBar and the contents of this topic are displayed on every document of the web. Therefore the file WebLeftBar should be as generic as possible as it is seen by all users.
However by using the
INCLUDE statement web administrators can make it possible to personalize the left bar.
Each TWiki User can have a topic TWikiUserLeftBar . In your case this would be
ChengguangZhuLeftBar.
The WebLeftBar in the
Main web now contains the lines:
Hello %WIKINAME%
%INCLUDE{"%MAINWEB%.%WIKINAME%LeftBar" warn="%MAINWEB%.WebList"}%
This reads
If personal left bar exists
include personal bar
Else
include general left bar
So you can put anything you want in your personal left bar and it will be seen in the
Main web
--
PeterJones - 27 Nov 2007
No such template def TMPL:DEF{PROMPT:supportquery}
--
PeterJones - 04 Nov 2007