DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:html_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:html_page_fromtemplate [2009-09-11 19:10] HåkanSdevel:event:html_page_fromtemplate [2018-12-08 15:27] (current) torpedo
Line 6: Line 6:
 Preventable:    yes Preventable:    yes
 Added_dt:       2006-09-16 Added_dt:       2006-09-16
 +Removed_dt:     2010-03-10
 ---- ----
 +
 +**This event got replaced by** 
 +  * [[devel:event:common_page_fromtemplate|COMMON_PAGE_FROMTEMPLATE]] **on 2010-03-10,** 
 +  * **which got replaced by [[devel:event:common_pagetpl_load|COMMON_PAGETPL_LOAD]] on 2011-02-03** 
 +**and is not available in subsequent stable releases.**
  
 This event is signalled by [[xref>html_edit()]] in [[xref>inc/html.php]] when a new page is to be created (loaded into the editor), handlers can use it to load their own [[:namespace templates]]. This event is signalled by [[xref>html_edit()]] in [[xref>inc/html.php]] when a new page is to be created (loaded into the editor), handlers can use it to load their own [[:namespace templates]].
- 
-Note: The event name will probably change when [[xref>html_edit()]] is refactored. 
  
 ===== Passed Data ===== ===== Passed Data =====
Line 16: Line 20:
   * $data[0] - ID of the page to be created   * $data[0] - ID of the page to be created
  
-===== 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:newpagetemplate]], [[plugin:userhomepage]], [[plugin:wysiwyg]] 
  
 ===== See also ===== ===== See also =====
  
 +  * [[codesearch>HTML_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]]
   * [[:namespace templates]]   * [[:namespace templates]]
- 
- 
devel/event/html_page_fromtemplate.1252689035.txt.gz · Last modified: 2009-09-11 19:10 by HåkanS

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