Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r1
FlexWebListTree 1 - 03 Jan 2008 - Main.TWikiAdminGroup
Line: 1 to 1
Added:
>
>

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%

Revision 1r1 - 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