FlexWebListNavi

The fragment below can be used in a sidebar navigation to establish a "twisted" subweb navigation. Use it by adding %INCLUDE{"System.FlexWebListNavi"}% to your sidebar navigation

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

%STARTINCLUDE%%TWISTY{
  prefix="<h2 >"
  suffix="</h2>"
  remember="on" 
  firststart="show"
  link="Webs "
  buttonmode="span"
  mode="div"
  showimg="%ICONURLPATH{"toggleclose-mini"}%"
  hideimg="%ICONURLPATH{"toggleopen-mini"}%"
}%
%FLEXWEBLIST{
  webs="%MAINWEB%,User,People,public,%SYSTEMWEB%" 
  exclude="^(TestCases|Trash).*" 
  adminwebs="Applications.*"
  map="System=Documentation"
  header="<ul>"
  format="<li
      $percntIFDEFINED{\"%BASEWEB%\" as=\"$web\"
        then=\" class='natCurrentWeb'\"
      }$percnt>
    <a href=\"%SCRIPTURLPATH{"view"}%/$web/%HOMETOPIC%\" $percntIFDEFINED{\"%BASEWEB%\" as=\"$web\" then=\" class='foswikiCurrentTopicLink'\" }$percnt>$name</a>
    $percntIFDEFINEDTHEN{\"$nrsubwebs \" as=\"0 \"}$percnt
    $percntELSEDEFINED$percnt
      $percntTWISTYBUTTON{
        id=\"subweb_$web\"
        remember=\"on\"
        buttonmode=\"span\"
        showimg=\"$percntICONURLPATH{\"toggleclose-mini\"}$percnt\"
        hideimg=\"$percntICONURLPATH{\"toggleopen-mini\"}$percnt\"
        link=\"\"
      }$percnt
    $percntFIDEFINED$percnt"
  footer="</li></ul>"
  separator="</li>"
  subheader="$percntTWISTYTOGGLE{id=\"subweb_$web\" mode=\"div\"}$percnt<ul class=\"natSubWebs\">"
  subfooter="</li></ul>$percntENDTWISTYTOGGLE$percnt"
}%
%ENDTWISTY%%STOPINCLUDE%

Test

    <li %IFDEFINED{"System" as="Users" then=" class='natCurrentWeb'" }%> Users %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="AIDA" then=" class='natCurrentWeb'" }%> AIDA %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="AetOKayttoOhje" then=" class='natCurrentWeb'" }%> AetOKayttoOhje %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Ajatar" then=" class='natCurrentWeb'" }%> Ajatar %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Avaras" then=" class='natCurrentWeb'" }%> Avaras %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="CSMHotelli" then=" class='natCurrentWeb'" }%> CSMHotelli %IFDEFINEDTHEN{"2 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Champion" then=" class='natCurrentWeb'" }%> Champion %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="ChampionTools" then=" class='natCurrentWeb'" }%> ChampionTools %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="CoSE" then=" class='natCurrentWeb'" }%> CoSE %IFDEFINEDTHEN{"4 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="CodingSkills" then=" class='natCurrentWeb'" }%> CodingSkills %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="CompPhys" then=" class='natCurrentWeb'" }%> CompPhys %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="DACI" then=" class='natCurrentWeb'" }%> DACI %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="DCS" then=" class='natCurrentWeb'" }%> DCS %IFDEFINEDTHEN{"2 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="DENIS" then=" class='natCurrentWeb'" }%> DENIS %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="DOE" then=" class='natCurrentWeb'" }%> DOE %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Departments/TLO" then=" class='natCurrentWeb'" }%> TLO %IFDEFINEDTHEN{"2 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="ELouhi" then=" class='natCurrentWeb'" }%> ELouhi %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Fudge" then=" class='natCurrentWeb'" }%> Fudge %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="GreenTUT" then=" class='natCurrentWeb'" }%> GreenTUT %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Hankeprosessi" then=" class='natCurrentWeb'" }%> Hankeprosessi %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="HlabProjektiWiki" then=" class='natCurrentWeb'" }%> HlabProjektiWiki %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="InnoPilotti" then=" class='natCurrentWeb'" }%> InnoPilotti %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="K003" then=" class='natCurrentWeb'" }%> K003 %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="KEKE" then=" class='natCurrentWeb'" }%> KEKE %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="LeanMES" then=" class='natCurrentWeb'" }%> LeanMES %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="MARC2006" then=" class='natCurrentWeb'" }%> MARC2006 %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="MARC2011" then=" class='natCurrentWeb'" }%> MARC2011 %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="MEC/Inverse" then=" class='natCurrentWeb'" }%> Inverse %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="MRG" then=" class='natCurrentWeb'" }%> MRG %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="MSTGroup" then=" class='natCurrentWeb'" }%> MSTGroup %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="MatoOpas" then=" class='natCurrentWeb'" }%> MatoOpas %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Monimuoto" then=" class='natCurrentWeb'" }%> Monimuoto %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="NICO" then=" class='natCurrentWeb'" }%> NICO %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="ProTurva" then=" class='natCurrentWeb'" }%> ProTurva %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="RATA" then=" class='natCurrentWeb'" }%> RATA %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="SigALa" then=" class='natCurrentWeb'" }%> SigALa %IFDEFINEDTHEN{"4 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%
      <li %IFDEFINED{"System" as="SigALa/Electroacoustics" then=" class='natCurrentWeb'" }%> Electroacoustics %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
      %FIDEFINED%<li %IFDEFINED{"System" as="SigALa/Paikkatietoanalyysi" then=" class='natCurrentWeb'" }%> Paikkatietoanalyysi %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
      %FIDEFINED%
    <li %IFDEFINED{"System" as="SmartHome" then=" class='natCurrentWeb'" }%> SmartHome %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%
      <li %IFDEFINED{"System" as="SmartHome/SynchronizationSystem" then=" class='natCurrentWeb'" }%> SynchronizationSystem %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
      %FIDEFINED%
    <li %IFDEFINED{"System" as="SmartSimulators" then=" class='natCurrentWeb'" }%> SmartSimulators %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Somestra" then=" class='natCurrentWeb'" }%> Somestra %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="System" then=" class='natCurrentWeb'" }%> Documentation %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="TUTFootballTournament2015" then=" class='natCurrentWeb'" }%> TUTFootballTournament2015 %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="TUTResearchNetwork" then=" class='natCurrentWeb'" }%> TUTResearchNetwork %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="TerveellinenTurvallinenYmparisto" then=" class='natCurrentWeb'" }%> TerveellinenTurvallinenYmparisto %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Tietoturva" then=" class='natCurrentWeb'" }%> Tietoturva %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%
      <li %IFDEFINED{"System" as="Tietoturva/Tutkielmat" then=" class='natCurrentWeb'" }%> Tutkielmat %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
      %FIDEFINED%
    <li %IFDEFINED{"System" as="Turvoke" then=" class='natCurrentWeb'" }%> Turvoke %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="UCPori" then=" class='natCurrentWeb'" }%> UCPori %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%
      <li %IFDEFINED{"System" as="UCPori/OPY" then=" class='natCurrentWeb'" }%> OPY %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
      %FIDEFINED%
    <li %IFDEFINED{"System" as="UbiServe" then=" class='natCurrentWeb'" }%> UbiServe %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="VisionGroup" then=" class='natCurrentWeb'" }%> VisionGroup %IFDEFINEDTHEN{"0 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="WikiHelp" then=" class='natCurrentWeb'" }%> WikiHelp %IFDEFINEDTHEN{"3 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%<li %IFDEFINED{"System" as="Wille" then=" class='natCurrentWeb'" }%> Wille %IFDEFINEDTHEN{"1 " as="0 "}% %ELSEDEFINED%
    %FIDEFINED%


This topic: System > FlexWebListPlugin > FlexWebListNavi
Topic revision: r2 - 03 Jul 2009 - 16:01:26 - ProjectContributor
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding TUTWiki? Send feedback