DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

devel:event:html_page_fromtemplate

This is an old revision of the document!


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

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.

See also

devel/event/html_page_fromtemplate.1527607022.txt.gz · Last modified: 2018-05-29 17:17 by andi