Tags:
create new tag
view all tags

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... smile

Thank you + best regards, Felix

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux 2.6.11.8.x86_64 (x86_64-linux)
Web server: Apache 2.2.8
Perl version: 5.008007
Client OS: Linux 2.6.11.8.x86_64 (x86_64-linux)
Web Browser: Firefox 2.0
Categories: Documentation, Skin

-- TWikiGuest - 06 Jun 2008

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-06-10 - TWikiGuest
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.