MenuListPlugin
System
---+!! !MenuListPlugin <!-- One line description, required for extensions repository catalog. * Set SHORTDESCRIPTION = Folding menu list --> %SHORTDESCRIPTION% %TOC% ---++ Usage Create a topic (in this example =MenuTopic=), containing a multi-level bullet list of web.topics you want to make a folding menu with. __Note: its important that the links include the web, as the menu may be referenced from another web.__ Then add =%<nop>MENULIST{topic="MenuTopic"}%= to your sidebar. If the currently viewed topic is in the list, MenuListPlugin will open up all the nodes leading up to where it is, and direct child nodes of this topic. ---++ %<nop>MENULIST% parameters | *parameter* | *values* | *default* | | =mode= | collapse,full | =full= | | =format=, =separator= | see %SYSTEMWEB%.FormattedSearch | bullet list | | =quiet= | in =collapse= mode, if you are not on a topic that is listed in the Menu topic, show nothing at all | false | | =showlevel= | filters to only show menu entries of that level (works in both collapse and full mode) | unset (0) | | =showdenied= | filters to only show menu entries that the current user has VIEWÂ permission for | =false= | | =levels= | how many levels of menu to show (single integer) | =all= (9999) | ---++ Examples if =MenuTopic= contains <verbatim> * System.FoswikiSiteSkin * System.FoswikiSiteSkinNavigationTemplate * System.MoveableTypeSkin * System.PatternSkin * System.PatternSkinCss * System.PatternSkinColorSettings * System.PatternSkinCssCookbook * System.PatternSkinCssCookbookCenterPage * System.PatternSkinCssCookbookCenterPageBorder * System.PatternSkinCssCookbookEditTableStyle * System.PatternSkinCssCookbookFonts * System.PatternSkinCssCookbookNoLeftBar * System.PatternSkinCssCookbookNoTopBar * System.PatternSkinCustomization * System.PatternSkinElements * System.PatternSkinGraphics * System.PatternSkinHeaderArt * System.PatternSkinWebCreateNewTopicTemplate * System.PlainSkin * System.PrintSkin * System.Skins * System.SkinBrowser * System.SkinTemplates * System.SlionSkin * System.SlionSkinColorSettings * System.SlionSkinCss * System.SlionSkinCssCookbook * System.SlionSkinCssCookbookCenterPageBorder * System.SlionSkinCssCookbookCenterPage * System.SlionSkinCssCookbookEditTableStyle * System.SlionSkinCssCookbookFonts * System.SlionSkinCssCookbookNoLeftBar * System.SlionSkinCssCookbookNoTopBar * System.SlionSkinCustomization * System.SlionSkinElements * System.SlionSkinGraphics * System.SlionSkinHeaderArt * System.SlionSkinWebCreateNewTopicTemplate * System.WidgetsSkin </verbatim> and you added =%<nop>MENULIST{topic="MenuTopic"}%= to the WebLeftBar topic in the System web, then navigated to PatternSkinCssCookbook you would get * System.FoswikiSiteSkin * System.MoveableTypeSkin * System.PatternSkin * System.PatternSkinCss * System.PatternSkinColorSettings * System.PatternSkinCssCookbook * System.PatternSkinCssCookbookCenterPage * System.PatternSkinCssCookbookEditTableStyle * System.PatternSkinCssCookbookFonts * System.PatternSkinCssCookbookNoLeftBar * System.PatternSkinCssCookbookNoTopBar * System.PatternSkinCustomization * System.PatternSkinElements * System.PatternSkinGraphics * System.PatternSkinHeaderArt * System.PatternSkinWebCreateNewTopicTemplate * System.PlainSkin * System.PrintSkin * System.Skins * System.SlionSkin * System.WidgetsSkin ---++ Installation Instructions You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server. Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install". If you have any problems, or if the extension isn't available in =configure=, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help. ---++ Info Many thanks to the following sponsors for supporting this work: * http://blackfin.com.au/ | Author(s): | Foswiki:Main.SvenDowideit | | Copyright: | © 2009 SvenDowideit@fosiki.com | | License: | [[http://www.gnu.org/licenses/gpl.html][GPL 3 (Gnu General Public License)]] | | Version: | 15636 (2012-10-18) | | Change History: | <!-- versions below in reverse order --> | | 18 Oct 2012: | added showdenied="off" mode to only show menu items the user is allowed to navigate to | | 8 May 2010: | added =levels= option so you can show several levels below =showlevel=, also changed output so that if you use =showlevel= the default =ul= bullet list starts from only _one_ bullet level | | 1 Aug 2009: | added =quiet= param for collapsed view | | 22 Jul 2009: | add non-collapse mode, level and formatting so we can show a menu in a table | | 23 Mar 2009: | initial release | | Dependencies: | None | | Home page: | http://foswiki.org/bin/view/Extensions/MenuListPlugin | | Support: | http://foswiki.org/bin/view/Support/MenuListPlugin | <!-- Do _not_ attempt to edit this topic; it is auto-generated. -->
E
dit
•
A
ttach
•
P
rint version
•
H
istory
: r1
•
B
acklinks
•
V
iew topic
•
M
ore topic actions
Projects
Skin Browser
Need to add skin selector, and then appropriate details
WidgetsSkin
options:
Wide
Wide - Thin
Thin - Wide
Thin - Wide - Thin
Wide - Thin - Thin
Wide - Medium
Medium - Wide
System Changes
WebCreateNewTopicTemplate
WebTemplateTopics
WebSearch
WebHome
WikiWord
WikiSyntax
WikiName
WikiSyntaxSummary
WikiCulture
WelcomeGuest
WebNotifyHelp
WebNotify
WebRssBase
WebRss
WebPreferencesHelp
powered by the community. 28th October 2008.