DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:links4pages

links4pages Plugin

Compatible with DokuWiki

Greebo

plugin Add custom links in all PageMenus

Last updated on
2018-08-09
Provides
Action
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.

Tagged with button, icons, links, 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.

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

Please open the GitHub page.

ToDo/Wish List

FAQ

Discussion

plugin/links4pages.txt · Last modified: 2020-02-23 19:52 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