Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...

FlexWebListTree

The fragment below can be used in a sidebar navigation to establish a folder-like subweb navigation. This uses the jqTreeview widget of the TWiki:Plugins/JQueryPlugin.

Use it by adding %INCLUDE{"TWiki.FlexWebListTree"}% to your WebLeftBar or TWikiWebSideBar.

If you want to hide the web navigation from TWikiGuests then uncomment the following:

%STARTINCLUDE%<!-- flexweblist tree -->
%TWISTY{
  prefix="<h2>"
  link="Webs "
  suffix="</h2>"
  showimg="%ICONURLPATH{"toggleclose-mini"}%"
  hideimg="%ICONURLPATH{"toggleopen-mini"}%"
}%
<div class="jqTreeview closed">
%~~ FLEXWEBLIST{
~~~   webs="%MAINWEB%,User,People,public,%TWIKIWEB%" 
~~~   exclude="(TestCases|Trash).*" 
~~~   adminwebs="Applications.*"
~~~   header="<ul>"
~~~   format="<li>$percntWEBLINK{\"$web\"}$percnt"
~~~   separator="</li>"
~~~   footer="</li></ul>"
~~~   subheader="<ul class=\"natSubWebs\">"
~~~ }%
</div>
%ENDTWISTY%
%STOPINCLUDE%
Go

Navigation

Webs Webs

r2 - 03 Jan 2008 - 18:46:13 - TWikiAdminGroup
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM