DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:navpath

Navpath Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" yes
  • 2018-04-22 "Greebo" unknown
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

plugin Create a navigation path in DokuWiki like "First > Second > Third"

Last updated on
2021-03-26
Provides
Syntax
Repository
Source

Tagged with menu, navigation, path

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Copy the entire folder to your dokuwiki installation under /lib/plugins/navpath. Make sure the name of the folder is navpath, otherwise the plugin won't work. Refer to Plugins on how to install plugins manually.

Examples/Usage

Default behavior

Just enter following tag to your syntax (make sure you have the closing <navpath> as well):

<navpath>Hello,World</navpath>

Specifiy splitting character(s)

By default, the text between the tags is separated at the comma. However, with the addition split=xxx you can specify any character sequence for this purpose.

The following syntax will do the same job as the default above.

<navpath split=###>Hello###World</navpath>
  • split can be a sequence of one or more characters (´,´ by default)

Customizing

The plugin uses three small GIFs to indicate the beginning, end and individual steps in the menu path. These GIFs can be replaced by your own graphics in the directory /lib/plugins/navpath/images. If necessary adapt the filename in the code accordingly.

  • nav_start.gif
  • nav_step.gif
  • nav_end.gif

Contributions

Feel free to contribute to this plugin: source on GitHub: https://github.com/XcodeJunkie/navpath

Changelog

  • 2021-03-26
    • Initial release
plugin/navpath.txt · Last modified: 2021-03-28 23:17 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