WikiHelp
View   r7  >  r6  >  r5  >  r4  >  r3  ...
FlexWebListTree 7 - 01 Oct 2008 - Main.MartinDahlo
 

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{"plus"}%"
  hideimg="%ICONURLPATH{"minus"}%"
  remember="on"
}%
<div class="jqTreeview closed unique">
%~~ FLEXWEBLIST{
~~~    map="%WEBLISTMAPPING%"
~~~    webs="%MAINWEB%,User,People,public,%TWIKIWEB%" 
~~~    exclude="^(TestCases|Trash).*" 
~~~    adminwebs="Applications.*"
~~~    format="$indent   * [[$web.%HOMETOPIC%][$name]]$n"
~~~ }%
</div>
%ENDTWISTY%

%STOPINCLUDE%

Revision 7r7 - 01 Oct 2008 - 01:09:21 - MartinDahlo
Revision 6r6 - 15 Sep 2008 - 22:26:42 - MartinDahlo
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.FlexWebListTree
Syndicate this site RSSATOM