DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:editsections

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:editsections [2013-03-25 03:40] – [Edit Section Reorganizer Plugin] 101.230.3.18plugin:editsections [2023-10-30 22:45] (current) Klap-in
Line 1: Line 1:
 ====== Edit Section Reorganizer Plugin ====== ====== Edit Section Reorganizer Plugin ======
  
----+---- plugin ---- 
 +description: Move section edit buttons to the start of the section, support hierarchical sections on edit 
 +author     : Christophe Drevet 
 +email      : dr4ke@dr4ke.net 
 +type       : action 
 +lastupdate : 2011-04-17 
 +compatible : Lemming, Anteater 
 +depends    :  
 +conflicts  :  
 +similar    : editsections2 
 +tags       : !obsolete, !discontinued, editing, section 
 downloadurl: https://github.com/dr4Ke/editsections/tarball/master downloadurl: https://github.com/dr4Ke/editsections/tarball/master
 bugtracker : https://github.com/dr4Ke/editsections/issues bugtracker : https://github.com/dr4Ke/editsections/issues
Line 10: Line 21:
 ===== Obsolete ===== ===== Obsolete =====
  
-This plugin is now obsolete and won't be maintained as I don't use it anymore (at least by me, //Christophe Drevet// 14-10-2012). This other plugidsdddsdsn can be used (didn't try it, though) plugin [[Editsections2]], developed on https://github.com/kazmiya/dokuwiki-plugin-editsections2+This plugin is now obsolete and won't be maintained as I don't use it anymore (at least by me, //Christophe Drevet// 14-10-2012). This other plugin can be used (didn't try it, though) plugin [[Editsections2]], developed on https://github.com/kazmiya/dokuwiki-plugin-editsections2
  
 See plugin [[Editsections2]] See plugin [[Editsections2]]
  
-===== Pl +===== Plugin =====
-===== Installing =====ddddd +
-==== Plugin Manager ==== +
-Use the [[:plugin:plugin|Plugin Manager]] to install this plugin from the following link:\\ +
-https://github.com/dr4Ke/editsections/tarball/master+
  
-==== Manually ==== +The "editsections" plugin moves edit section buttons up to the heading they originated from. Configurable for nested (hierarchical) or flat edit sections. Nested edit sections cover the same indentation level as their heading.
-It also can be downloaded manually from the same URL.+
  
-Unpack and place the "editsections" folder into the ''/lib/plugins/'' directory of your DokuWiki installation.+Since 2010-11-07 dokuwiki release, this plugin can't store useful things in the cache. So, there is an option to disable cache (only for writers) in order to use all features : 
 +  * nested editing 
 +  * names in the summary 
 + 
 +The Edit Section Reorganizer Plugin is identified as "editsections" in the Plugin Manager. 
 + 
 +===== Installing ===== 
 +==== Plugin Manager ==== 
 +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
  
Line 59: Line 73:
  }  }
   
- function register(&$controller) {+ function register(Doku_Event_Handler $controller) {
  $controller->register_hook('PARSER_HANDLER_DONE', 'BEFORE', $this, 'rewrite_sections');  $controller->register_hook('PARSER_HANDLER_DONE', 'BEFORE', $this, 'rewrite_sections');
  }  }
Line 390: Line 404:
 @Klap-in: You can do this by changing the ''addInitEvent()'' function in ''lib/scripts/script.js''. Simply replace any instance of ''previousSibling'' with ''nextSibling'' in that function (there are four places it needs to be changed) -- //DLO 5-Feb-2010// @Klap-in: You can do this by changing the ''addInitEvent()'' function in ''lib/scripts/script.js''. Simply replace any instance of ''previousSibling'' with ''nextSibling'' in that function (there are four places it needs to be changed) -- //DLO 5-Feb-2010//
  
-@DLO: Thanks, it works for the flat usage of this plugin. I added a script.js that works with both settings (flat and nested), a french translation and made a few other modifications and published a new version of this plugin. It can be downloaded at : [[http://github.com/downloads/dr4Ke/editsections/editsections.tar.gz]] -- //dr4Ke 11 May 2010//+@DLO: Thanks, it works for the flat usage of this plugin. I added a script.js that works with both settings (flat and nested), a french translation and made a few other modifications and published a new version of this plugin. It can be downloaded at : [[https://github.com/downloads/dr4Ke/editsections/editsections.tar.gz]] -- //dr4Ke 11 May 2010//
  
  
plugin/editsections.1364179210.txt.gz · Last modified: 2013-03-25 03:40 by 101.230.3.18

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