DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:links4pages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
plugin:links4pages [2018-07-27 19:35]
albinou created
plugin:links4pages [2018-09-20 14:48] (current)
albinou [Development] Add GitHub bug tracker link
Line 6: Line 6:
 email      : albin-dokuwiki@kauff.org ​ email      : albin-dokuwiki@kauff.org ​
 type       : action type       : action
-lastupdate : 2018-07-27+lastupdate : 2018-08-09
 compatible : Greebo compatible : Greebo
-depends ​   : addnewpage+depends ​   : 
 conflicts ​ :  conflicts ​ : 
 similar ​   :  similar ​   : 
-tags       : ​+tags       : ​button icons links menu navigation
  
 downloadurl:​ https://​github.com/​albinou/​dokuwiki-plugin-links4pages/​zipball/​master downloadurl:​ https://​github.com/​albinou/​dokuwiki-plugin-links4pages/​zipball/​master
Line 22: Line 22:
  
 ===== Installation ===== ===== Installation =====
- 
-:!: **External requirements:​** This plugin requires the following additional components that must be installed separately: ​ 
-  * [[addnewpage]] (needed to create a page helping users to create new pages) 
  
 Install the plugin using the [[plugin:​plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:​Plugins]] on how to install plugins manually. Install the plugin using the [[plugin:​plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:​Plugins]] on how to install plugins manually.
  
-===== Usage =====+===== 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. 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 ​you to add a button on the //​PageMenu//​ (the one on the right on the default template) ​that opens a custom page offering the opportunity to create a new page. See the screenshots for the example.+So this plugin allows to add a "​Create new page" ​button on the //​PageMenu//​ (the one on the right on the default template):
  
-This plugin ​has been developed so that it is easy to add support for other links.+{{https://​github.com/​albinou/​dokuwiki-plugin-links4pages/​raw/​screenshots/​doc/​addnewpage-button.png?​recache}} 
 + 
 +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): 
 + 
 +{{https://​github.com/​albinou/​dokuwiki-plugin-links4pages/​raw/​screenshots/​doc/​addnewpage-page.png?​recache}} 
 + 
 +This plugin can be used to create these types of links to any Page ID.
  
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
Line 40: Line 43:
 The following items can be configured: The following items can be configured:
  
-  * Link type +  ​* Page ID link (ex. "​wiki:​new-page"​) 
-  * Page ID (the page the button will open+  ​* Link label (ex. "​Create new page") 
-  * Icon position on the PageMenu+  * 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 [[devel:​menus#​icon|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 [[https://​material.io/​guidelines/​style/​icons.html|Material Design Guidelines]] when designing your own icon.
  
 ===== Development ===== ===== Development =====
Line 48: Line 54:
 === Change Log === === 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**   * **2018-07-27**
     * Initial release     * Initial release
Line 53: Line 62:
 === Known Bugs and Issues === === Known Bugs and Issues ===
  
-=== ToDo/Wish List ===+Please open the [[https://​github.com/​albinou/​dokuwiki-plugin-links4pages/​issues|GitHub]] page.
  
-  * Add new link types (in addition to //​new_page//​)+=== ToDo/Wish List ===
  
 ===== FAQ ===== ===== FAQ =====
plugin/links4pages.1532712937.txt.gz · Last modified: 2018-07-27 19:35 by albinou