DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dwmenu

dwMenu Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" no

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

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

Similar to menu

Tagged with menu, navigation

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>

Screenshot

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

plugin/dwmenu.txt · Last modified: 2024-01-01 19:37 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki