DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:html_page_fromtemplate

HTML_PAGE_FROMTEMPLATE

Description:
replace namespace templates functionality
DefaultAction:
load an existing namespace template, replace some variables and return it to the edit box
Preventable:
yes
Added:
2006-09-16
Removed:
2010-03-10

This event got replaced by

and is not available in subsequent stable releases.

This event is signalled by html_edit() in 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.

Passed Data

  • $data[0] - ID of the page to be created

See also

devel/event/html_page_fromtemplate.txt · Last modified: 2018-12-08 15:27 by torpedo

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