DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dwedit

This is an old revision of the document!


Table of Contents

dwedit Plugin

Compatible with DokuWiki

Frusterick Manners, Greebo

plugin Support plugin for ckgedit/cgdoku: adds dokuwiki native editor icon to page tools

Last updated on
2020-01-11
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.

Installation

Simply install the plugin with the Extension Manager and an additional icon will appear in your page tools that will enable you to go directly to the DokuWiki editor.

Usage

The icon is like the Edit button. Clicking on the button will open the native DokuWiki editor. It opens to the entire page being edited, it does not support section editing.

For users who are not using the DokuWiki template or compatible template, a link can be inserted from the template page using one of the following. Either a button:

<?php  
 global $ID;
 $params = array('do'=>'edit','mode'=>'dwiki',
    'fck_preview_mode'=>'nil');  
 if($REV) { $params['rev'] = $REV; }
 $name = "DW Edit";
 $button = html_btn($name , $ID, "", $params,"post",$name,$name);   
 echo $button;      
?>

Or a link that is inserted directly into the HTML:

<a href="doku.php?id=<?php global $ID; echo $ID;?>&amp;
      do=edit&mode=dwiki&fck_preview_mode=nil"
      class="action edit" rel="nofollow" title="DW Edit">DW Edit</a>
plugin/dwedit.1581092210.txt.gz · Last modified: 2020-02-07 17:16 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