Table of Contents
dwMenu Plugin
Compatible with DokuWiki
Adora Belle, Elenor Of Tsort, Frusterick Manners, Greebo, !Hogfather
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to menu
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
A simple menu with two columns:
<dwmenu col="2" align="center" caption="Accueil"> <dwitem name="name" description="description" link="link" image="image.png"> <dwlink link="link" text="text" /> <dwlink link="link" text="text" /> </dwitem> <dwitem name="name" description="description" link="link"> <dwlink link="link" text="text" /> <dwlink link="link" text="text" /> </dwitem> <dwitem name="name" description="description" link="link" image="image.png"> <dwlink link="link" text="text" /> <dwlink link="link" text="text" /> </dwitem> <dwitem name="name" description="description" link="link" image="image.png"> <dwlink link="link" text="text" /> <dwlink link="link" text="text" /> </dwitem> <dwitem name="name" description="description" link="link"> <dwlink link="link" text="text" /> <dwlink link="link" text="text" /> </dwitem> </dwmenu>
Syntax
Basic syntax:
<dwmenu col="" align="" caption="">
- col (integer) : num of columns
- align (string) : center/right/left
- caption (string) : text which can be put on the top of the menu
dwmenu tag can contain dwitem tags.
<dwitem name="" description="" link="" image="">
- name (string) : text which will be drawn on the main link of the item menu
- description(string) : text which will be drawn under the main link of the item menu
- link (string) : page ID of the link of the item menu
- image (string) : link to the image
dwitem tag can contain dwlink tags.
<dwlink link="" text="" />
- link (string) : page ID of the link
- text (string) : text of the link
Change Log
- Merge pull request #11 from zenn1989/master by Progi1984 (2017-03-13 14:46)
- Losted close tag for general div.dwmenu by zenn1989 (2016-06-20 20:18)
- Fixed : Vertical Alignment (top) by Progi1984 (2015-08-28 14:41)
- Fixed : Vertical Alignment (top) by Progi1984 (2015-08-28 14:40)
- Merge branch 'master' of https://github.com/Progi1984/dokuwiki-dwmenu by Progi1984 (2015-08-28 14:38)
- Fixed : #5 Missing generated "</div>" by Progi1984 (2015-08-28 14:37)
- Merge pull request #7 from vins31/master by Progi1984 (2015-08-28 14:32)
- Fixed : #3 Make parameters optional by Progi1984 (2015-08-28 14:29)
FAQ
None for the moment
Discussion
#1
It can be nice :) thank you for your extension
A source at pastebin.com.
— Aleksandr Selivanov 2013/02/12 12:42
Exactly, but this plugin make it natively. And it permits me to learn how to develop plugins for Dokuwiki. Thank your for your answer.
— Progi1984 2013/02/12 18:51
It would be nice to have links to sections of a page. Like:
link="[[namespace1:namespace2#section]]"
Just as Dokuwiki does
— Michiel van Erven 2013/05/03 12:25
Hope you'll update the extension for Hogfather version, as your extension is the nicer extension plugin for DW !
— ics-informatique 2020/03/10 12:18