DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:tpl_metaheader_output

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Both sides next revision
devel:event:tpl_metaheader_output [2018-12-08 16:13]
torpedo doc updated according to issue #2615
devel:event:tpl_metaheader_output [2021-06-17 11:32] (current)
gerardnico [Passed Data]
Line 47: Line 47:
   * For adding the javascript file you should specify an empty "_data" field for generating of a closing "script" tag, otherwise you get an incorrect self closed "script" tag.   * For adding the javascript file you should specify an empty "_data" field for generating of a closing "script" tag, otherwise you get an incorrect self closed "script" tag.
   * You may use other tags as well   * You may use other tags as well
-<code>+<code php>
 $event->data['style'][] = array('type'  => 'text/css', $event->data['style'][] = array('type'  => 'text/css',
                                 '_data' => 'a {color: blue;}');                                 '_data' => 'a {color: blue;}');
devel/event/tpl_metaheader_output.txt · Last modified: 2021-06-17 11:32 by gerardnico