DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dwmenu

dwMenu Plugin

Compatible with DokuWiki

Adora Belle

plugin This plugin displays a menu in a cool way with differents parts.

Last updated on
2015-08-28
Provides
Syntax
Repository
Source

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

Tagged with menu, navigation

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. 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

FAQ

None for the moment

Discussion

#1

It can be nice :) thank you for your extension

Wrap Plugin + bbCode Plugin =

A source at pastebin.com.

;-)

Aleksandr SelivanovAleksandr Selivanov
Aleksandr

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.

Progi1984Progi1984

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 ErvenMichiel van Erven

2013/05/03 12:25

plugin/dwmenu.txt · Last modified: 2015-09-23 23:22 by Aleksandr