DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:action_act_preprocess

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
devel:event:action_act_preprocess [2018-05-29 17:07]
andi
devel:event:action_act_preprocess [2018-12-08 14:48] (current)
torpedo doc updated according to issue #2615
Line 21: Line 21:
 Use ''preventDefault()'' to skip DokuWiki's processing of the action. ''$data'' is a reference to the [[xref>$ACT]] variable, so assigning another action string to the ''$data'' field will be noticed outside your event handler. Use ''preventDefault()'' to skip DokuWiki's processing of the action. ''$data'' is a reference to the [[xref>$ACT]] variable, so assigning another action string to the ''$data'' field will be noticed outside your event handler.
  
-The AFTER event handler lets you handle actions after performing DokuWiki's default action handling (attention: can be eventually skipped by ''preventDefault()'') . Due to handling of actions by plugins and DokuWiki itself the AFTER event handler can be reached with another action than you expect at first sight. Please be aware it.+The AFTER event handler lets you handle actions after performing DokuWiki's default action handling (attention: can be eventually skipped by ''preventDefault()''). Due to handling of actions by plugins and DokuWiki itself the AFTER event handler can be reached with another action than you expect at first sight. Please be aware it.
  
- 
-===== Plugins handling this event ===== 
- 
-The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself. 
- 
-  * [[plugin:404manager]], [[plugin:adminhomepage]], [[plugin:autostart]], [[plugin:blog]], [[plugin:captcha]], [[plugin:cite]], [[plugin:discussion]], [[plugin:dokubookmark]], [[plugin:favoris]], [[plugin:googlesearch]], [[plugin:linkback]], [[plugin:linkback]], [[plugin:loginredirect]], [[plugin:loglog]], [[plugin:logoutconvenience]], [[plugin:message]], [[plugin:multilingual]], [[plugin:new_page_dialog]], [[plugin:openid]], [[plugin:pxxo]], [[plugin:searchformgoto]], [[plugin:dokusioc]], [[plugin:siteexport]], [[plugin:tag]], [[plugin:task]], [[plugin:userhomepage]], [[plugin:userspagecreate]], [[plugin:projects]] 
  
 ===== See also ===== ===== See also =====
  
-  * [[codesearch>ACTION_ACT_PREPROCESS|Code related to this event]]+  * [[codesearch>ACTION_ACT_PREPROCESS|Code related to this event]] used in any DokuWiki's files, plugins and templates
   * [[devel:Action Plugins]]   * [[devel:Action Plugins]]
   * [[devel:Events]]   * [[devel:Events]]
   * [[TPL_ACT_UNKNOWN]]   * [[TPL_ACT_UNKNOWN]]
devel/event/action_act_preprocess.txt · Last modified: 2018-12-08 14:48 by torpedo