Dokuwiki plugin

Select plugin

This DokuWiki plugin creates a pull-down menu that navigates users to either internal or external links. You can check the functionality by selecting the 'Language' selection box above.

Downloadselect.zip2008-10-23

Demo

Syntax

At least two kinds of parameters for are necessary this plugin.

  1. Name of the box which is selected on loading the page first.
  2. Pairs of link and displaying name.

The code of 'Language' menu at the top of this page is like this.

<select Language>
computer/select_plugin|Japanese
computer:en:select_plugin|English
</select>
  • Begin syntax with 'select XXXX'.
    'XXXX' is the name of selection box.(ex. Language)
  • List each menu item as 'LINK|NAME'. 'LINK' is dokuwiki internal link which should start with a root namespace.
  • You can also use external links.
  • InterWiki syntax '(WIKI)>(TITLE)|NAME' is supported in the latest version.
    (2007-06-26b or later required)
  • Change the splitters of namespaces to ':'(colon) according to your DokuWiki settings.
Example code

<select example>
computer:select_plugin
computer:select_plugin|Select plugin

http://www.google.com
http://www.google.com|Google

wp>Ghost_in_shell
wp>Ghost_in_shell|Ghost in the shell
</select>
Example



Installation

Using plugin manager

  1. Use URL of select.zip

Manual installation

  1. Download 'select.zip' and extract it.
  2. Upload the 'select' directory into /lib/plugins/ directory of your DokuWiki

History

  • 2008.10.23
    • bug fixed on using InterWiki links
  • 2008.10.11
  • 2008.2.6 Creation of interwiki links enabled. (2007-06-26b or later required)
  • 2007.10.16 bug fix of an inappropriate linking depends of 'userewrite' parameter.
 
en/select_plugin.txt · Last modified: 2010/12/12 09:42 by swadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
2010 I.Obataya