r2 - 18 Mar 2008 - 12:28:42 - TWikiAdminYou are here: TWiki >  TWiki Web > FlexWebListTree

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">
%~~ 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%
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Pixeon Medical Systems
Pixeon Medical Systems - Todos os direitos reservados. 2019
http://www.pixeon.com.br/