DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:common_page_fromtemplate

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
devel:event:common_page_fromtemplate [2011-02-03 16:29] – [COMMON_PAGE_FROMTEMPLATE] andidevel:event:common_page_fromtemplate [2018-12-08 15:06] (current) – doc updated according to issue #2615 torpedo
Line 6: Line 6:
 Preventable:    yes Preventable:    yes
 Added_dt:       2010-03-10 Added_dt:       2010-03-10
 +Removed_dt:     2011-02-03
 ---- ----
  
-**This event got replaced by [[devel:event:common_pagetpl_load|COMMON_PAGE_FROMTEMPLATE]] in devel on 2011-02-03 and will not be available in subsequent stable releases.**+**This event got replaced by [[devel:event:common_pagetpl_load|COMMON_PAGETPL_LOAD]] in devel on 2011-02-03 and will not be available in subsequent stable releases.**
  
 This event is signaled by [[xref>pageTemplate()]] in [[xref>inc/common.php]] when a new page is to be created (loaded into the editor), handlers can use it to load their own [[:namespace templates]] (by replacing $data['tpl']) or process the page content (by changing $data['tpl']). This event is signaled by [[xref>pageTemplate()]] in [[xref>inc/common.php]] when a new page is to be created (loaded into the editor), handlers can use it to load their own [[:namespace templates]] (by replacing $data['tpl']) or process the page content (by changing $data['tpl']).
Line 17: Line 18:
   * $data['tpl']: The (unparsed) page template content   * $data['tpl']: The (unparsed) page template content
  
-===== 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. 
- 
-  * None yet 
  
 ===== See also ===== ===== See also =====
  
 +  * [[codesearch>COMMON_PAGE_FROMTEMPLATE|Code related to this event]] used in any DokuWiki's files, plugins and templates
   * [[devel:Action Plugins]]   * [[devel:Action Plugins]]
   * [[devel:Events]]   * [[devel:Events]]
devel/event/common_page_fromtemplate.1296746975.txt.gz · Last modified: 2011-02-03 16:29 by andi

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