Flex Web-List Tree

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.

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{
 webs="%USERSWEB%,User,People,public,%SYSTEMWEB%" 
 exclude="^(TestCases|Trash).*" 
 adminwebs="Applications.*"
 header="<ul>"
 format="<li>$percntWEBLINK{\"$web\"}$percnt"
 separator="</li>"
 footer="</li></ul>"
 subheader="<ul class=\"natSubWebs\">"
}%
</div>
%ENDTWISTY%
%STOPINCLUDE%

Related Topics: FlexWebListExamples, FlexWebListNavi, FlexWebListPlugin

r2 - 17 Jul 2015 - 04:33:33 - TWikiAdminUser
 
Linux & Open Source for AT91 Microchip Microprocessors

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

Microchip® and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries. This site is powered by the TWiki collaboration platform

Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.

Ideas, requests, contributions ? Connect to LinksToCommunities page.

Syndicate this siteRSS ATOM