Question
I recently installed the
NatSkin on TWiki 4.2.0 (which works without problems) and now I'm trying to customize the navigation left bar.
Here is an example of what I would like to achieve:
When the user clicks on a web-name (e.g. Main), the browser opens the respective 'WebHome' topic (this of course is the default behavior). At the same time I would like the sidebar to show specific topics (but not all topics) of this web as sub-items below the web-name (e.g. Main/MyData, Main/Tools, ....)
The only thing I found out were those two files which seem to be important in this context:
- data/TWiki/TWikiWebSideBar.txt
- data/TWiki/FlexWebListNavi.txt
but I don't know which parts to modify (and how).
Even after hours of searching I didn't find some documentation about this issue... so maybe someone can point me to the right direction...
Thank you + best regards,
Felix
Environment
--
TWikiGuest - 06 Jun 2008
Answer
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.
See the documentation for WEBCOMPONENT.
The ones you need to customize are WebSideBar and WebLinks. Default NatSkin comes with site definitions in TWiki.TWikiWebSideBar and TWiki.TWikiWebLinks. Copy them to Main and modify them. Each individual web can have its own WebSideBar and WebLinks.
--
MichaelDaum - 06 Jun 2008
Thank you very much for your quick answer, it helped me a lot.
Regards,
Felix
--
TWikiGuest - 10 Jun 2008