Tags:
create new tag
view all tags
Related Topics: GnuSkin, GnuSkinPlugin, GnuSkinPluginDev, GnuSkinInstall, TWikiPreferences, TWikiPlugins

WebMenu

This topic serves as the configuration of the left-hand menu.

Installation:

See GnuSkinInstall for details of download and installation instructions.

Syntax

Please consult the WebMenuFormat topic for more help on the formatting of this topic. The below text only serve as a brief syntax reminder.

%WEB{name="..." home="<Web>¦<Web>.<Topic>" [expand="always¦never"]}% Entry for a Web heading
%ITEM{name="..." [topic="..."]}% Define a Web topic item
%LINK{name="..." [url="..."]}% Define generic entry
%DEFAULTITEMS% Default Web topic items

Example

This sets the default items to be presented for all webs below who reference this variable. It is a comma separated list of items, with no spaces between the ITEM definitions. See the source for this page for an example.

  • SET DEFAULTITEMS = %ITEM{name="WebChanges" topic="WebChanges"}%,%ITEM{name="WebIndex" topic="WebIndex"}%,%ITEM{name="WebNotify" topic="WebNotify"}%,%ITEM{name="WebStatistics" topic="WebStatistics"}%

First the Main web. We call it People because mostly it is only used for all the registered users of the TWiki.

Plugins

%ITEM{name="Everyone" topic="TWikiUsers"}%

%DEFAULTITEMS%

Next is the TWiki web. It holds a lot of reference pages, as well as the preferences topic for the entire TWiki system.

Plugins

%ITEM{name="Welcome" topic="WelcomeGuest"}%

%ITEM{name="Tutorial" topic="TWikiTutorial"}%

%DEFAULTITEMS%

%LINK%{name="GNU" url="http://www.gnu.org"}%

Third is the Knowledge Web, we provide the complete name so beginners also will understand what it is. Like we did for the TWiki web, above, we add the HTML special character &nbsp; instead of a regular space. This way we make sure there is a space and that the user agent will not break the row between these two words.

Plugins

%DEFAULTITEMS%

Last is the Test web. We call it Sandbox so that even a beginner can make a qualified guess of what it is.

Plugins

%DEFAULTITEMS%

Contact

For help and advice, please email JoachimNilsson, or make use of the GnuSkinPluginDev public forum.

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-09-14 - JoachimNilsson
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.