%META:TOPICINFO{author="guest" date="1026826320" format="1.0" version="1.5"}%
__Related Topics:__ GnuSkin, GnuSkinPlugin, GnuSkinPluginDev, GnuSkinInstall, %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins

---+ <nop>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.

| %<nop>WEB{name="..." home="&lt;Web&gt;&brvbar;&lt;Web&gt;.&lt;Topic&gt;" [expand="always&brvbar;never"]}% | Entry for a Web heading |
| %<nop>ITEM{name="..." [topic="..."]}% | Define a Web topic item |
| %<nop>LINK{name="..." [url="..."]}% | Define generic entry |
| %<nop>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.

%WEB{name="People" home="Main"}%

%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.

%WEB{name="TWiki&nbsp;System" home="TWiki"}%

%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 &amp;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.

%WEB{name="Knowledge&nbsp;Web" home="Know"}%

%DEFAULTITEMS%


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

%WEB{name="Sandbox" home="Test"}%

%DEFAULTITEMS%


---++ Contact

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



