You are here: Foswiki>System Web>PatternSkinFatwillyTheme>PatternSkinThemeFatWillyNavigation (22 Jan 2017, ProjectContributor)Edit Attach

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 Site Preferences:

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="About" DESTTOPIC="%HOMETOPIC%" LABEL="About"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Blog" DESTTOPIC="%HOMETOPIC%" LABEL="Blog"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Extensions" DESTTOPIC="%HOMETOPIC%" LABEL="Extensions"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="%SYSTEMWEB%" DESTTOPIC="%HOMETOPIC%" LABEL="Documentation"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Community" DESTTOPIC="%HOMETOPIC%" LABEL="Community"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Development" DESTTOPIC="%HOMETOPIC%" LABEL="Development"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Tasks" DESTTOPIC="%HOMETOPIC%" LABEL="Tasks"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Download" DESTTOPIC="%HOMETOPIC%" LABEL="Download"
}%
%INCLUDE{
    "%SYSTEMWEB%.PatternSkinNavigation" section="topbarbutton"
    ID="" DESTWEB="Support" DESTTOPIC="%HOMETOPIC%" LABEL="Support"
}%
</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: r1 - 22 Jan 2017, 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 Foswiki? Send feedback