You are here: Main » NatSkin » SiteMenu » SiteMenu

SiteMenu

Definition of site wide horizontal menu

Implementation

%STARTINCLUDE%<ul>
    <li class="%IF{"$CURRENT_MENU='%USERSWEB%'" then="current" else="notcurrent"}%">[[%USERSWEB%.%HOMETOPIC%][%MAKETEXT{"Home"}%]]</li>
<li class="%IF{"$CURRENT_MENU='NCSSBoard'" then="current" else="notcurrent"}%">[[NCSSBoard.%HOMETOPIC%][%MAKETEXT{"NCSSBoard"}%]]</li>
  <li class="%IF{"$CURRENT_MENU='NCSSStaff'" then="current" else="notcurrent"}%">[[NCSSStaff.%HOMETOPIC%][%MAKETEXT{"NCSSStaff"}%]]</li>
    <li class="%IF{"$CURRENT_MENU='HouseofDelegates'" then="current" else="notcurrent"}%">[[HouseofDelegates.%HOMETOPIC%][%MAKETEXT{"HouseofDelegates"}%]]</li>
%IF{"'%USERNAME%' ingroup 'AdminGroup'"
  then="$percntINCLUDE{\"%SYSTEMWEB%.SiteMenu\" section=\"adminmenu\"}$percnt"
}% %INCLUDE{"%SYSTEMWEB%.SiteMenu" section="helpmenu"}%
</ul>%STOPINCLUDE%

Subwebs

%STARTSECTION{"subwebs"}%%FLEXWEBLIST{
  include="%URLPARAM{"theweb" default="%theweb%"}%.*"
  exclude="%URLPARAM{"theweb" default="%theweb%"}%|.*(%URLPARAM{"excludeweb" default="does not exist"}%).*"
  header="<li>"
  subheader="<ul><li>"
  format="[[$web.%HOMETOPIC%][%JQICON{
    "%URLPARAM{"icon"
       default="%icon{default="bullet_white"}%"
    }%"}% $title]]"
  separator="</li><li>"
  subfooter="</li></ul>"
  footer="</li>"
}%%ENDSECTION{"subwebs"}%
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NCSS Leaders-Board? Send feedback