devel:event:html_secedit_button
Table of Contents
HTML_SECEDIT_BUTTON
- Description:
- prepares section edit button data for event triggering used as a callback in html_secedit
- DefaultAction:
- show edit button (if field name is set, see below)
- Preventable:
- yes
- Added:
- 2010-11-07
This event is signalled by html_secedit_button() in inc/html.php.
Passed Data
An array with the following values:
secid
: The ID (incrementing integer) of the objecttarget
: The object type to edit (e.g.,section
for normal sections)range
: The byte range of the object as string in the form\d+-\d*
name
(optional): The name of the edit section. If this was not specified by the renderer (normal sections) or your syntax plugin, you have to provide a name in your handler, otherwise the edit button will not show up.
See also
- Code related to this event used in any DokuWiki's files, plugins and templates
- Developers How-To for custom Section Editor
devel/event/html_secedit_button.txt · Last modified: 2018-12-08 15:33 by torpedo