You are here:
BACCHUS Wiki
>
System Web
>
PatternSkinHorizontalNavigationExample
(revision 1) (raw view)
---+!! <nop>PatternSkin horizontal navigation example Include main navigation with: <verbatim class="tml"> %INCLUDE{"HorizontalNavigationExample" section="main"}% </verbatim> Include meta navigation with: <verbatim class="tml"> %INCLUDE{"HorizontalNavigationExample" section="meta"}% </verbatim> ---++ Include sections <verbatim class="tml"> %STARTSECTION{"main"}%<div id="patternTopBarButtons"><ul> %INCLUDE{ "%TOPIC%" section="topbarbutton" ID="" DESTWEB="%USERSWEB%" DESTTOPIC="WebHome" LABEL="%USERSWEB%" }% %INCLUDE{ "%TOPIC%" section="topbarbutton" ID="" DESTWEB="%SYSTEMWEB%" DESTTOPIC="WebHome" LABEL="%SYSTEMWEB%" }% %INCLUDE{ "%TOPIC%" section="topbarbutton" ID="" DESTWEB="%SANDBOXWEB%" DESTTOPIC="WebHome" LABEL="%SANDBOXWEB%" }% </ul><br class="foswikiClear" /></div>%ENDSECTION{"main"}% %STARTSECTION{"topbarbutton"}%<li%IF{ "'$ID' and '%ID%'!=''" then=" id=\"%ID%\""}%> <a href="%SCRIPTURL{"view"}%/%DESTWEB%/%DESTTOPIC%" class="%IF{ "'%DESTWEB%'='%WEB%'" then="active" else="inactive" }%">%LABEL%</a></li>%ENDSECTION{"topbarbutton"}% %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>You are visiting this site as: [[%WIKIUSERNAME%][%WIKINAME%]]</li> <li>%LOGIN% %IF{ "context registration_supported AND context registration_enabled" then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]" }%</li>' }%<li>[[%USERSWEB%.WikiUsers][Users]]</li></ul></div>%ENDSECTION{"meta"}% </verbatim> <!-- %JQREQUIRE{"chili"}% -->
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 18 Mar 2011,
ProjectContributor
System
Log In
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Copyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki?
Send feedback