DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:links4pages

links4pages Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown

plugin Add custom links in all PageMenus

Last updated on
2018-08-09
Provides
Action
Repository
Source

Tagged with button, icons, links, menu, navigation

By albinou

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.

Example

Adding new pages in DokuWiki might not be not very convenient for your users. The addnewpage plugin helps but it would be needed to add the code {{NEWPAGE}} to every page to make it accessible easily.

So this plugin allows to add a “Create new page” button on the PageMenu (the one on the right on the default template):

A click on this button opens a custom page offering the opportunity to create a new page (addnewpage is needed to create such a page):

This plugin can be used to create these types of links to any Page ID.

Configuration and Settings

The following items can be configured:

  • Page ID link (ex. “wiki:new-page”)
  • Link label (ex. “Create new page”)
  • SVG icon (Media ID of an SVG file uploaded via the Media Manager. ex. wiki:file-plus.svg)
  • Position of the link (ex. “1”)

Dokuwiki advice (copied from here): To match the style of other icons, it is recommended to either pick an icon from the huge, free selection at https://materialdesignicons.com/ or adhere to the Material Design Guidelines when designing your own icon.

Development

Change Log

  • 2018-08-09
    • Make the plugin more generic
    • Take the SVG icons from the medias instead of the image directory
  • 2018-07-27
    • Initial release

Known Bugs and Issues

ToDo/Wish List

FAQ

Discussion

plugin/links4pages.txt · Last modified: 2018-08-14 14:43 by albinou