PatternSkin theme: Foswiki "Fat Willy" Site Skin - Navigation

Include main navigation with:
%INCLUDE{"%SYSTEMWEB%.PatternSkinThemeFatWillyNavigation" section="main"}%

This is done automatically in the templates by setting in the SitePreferences:

Include meta navigation with:
%INCLUDE{"PatternSkinThemeFatWillyNavigation" section="meta"}%

Include sections

%STARTSECTION{"main"}%<div id="patternTopBarButtons" class="clear"><ul>
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Home" DESTTOPIC="%HOMETOPIC%" LABEL="About"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Home" DESTTOPIC="GettingStarted" LABEL="Getting Started"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Community" DESTTOPIC="BookClub" LABEL="Book Club"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Community" DESTTOPIC="VirtualCuppa" LABEL="Virtual Cuppa"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Home" DESTTOPIC="NetworkLinks" LABEL="Network Links"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Home" DESTTOPIC="GDPR" LABEL="GDPR"
}%
</ul></div>%ENDSECTION{"main"}%


%STARTSECTION{"meta"}%<div id="foswikisiteUserBar"><ul>%IF{
    "context authenticated"
    then='<li>%MAKETEXT{
        "Hello [_1]"
        args="[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]"
    }%</li>'
}%%IF{
    "$ LOGOUT != ''"
    then='<li>%LOGOUT%</li>'
}%%IF{
    "$ LOGIN != '' and not context authenticated"
    then='<li>Hello [[%WIKIUSERNAME%][%WIKINAME%]]</li>
        <li>%LOGIN% %IF{
            "context registration_supported AND context registration_enabled"
            then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]"
        }%</li>'
}%<li>[[%USERSWEB%.%WIKIUSERSTOPIC%][Users]]</li></ul></div>%ENDSECTION{"meta"}%

Topic revision: r3 - 28 May 2021, BradMacpherson - This page was cached on 26 Nov 2021 - 10:57.

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 Irish Doughnut Economics Network? Send feedback