devel:event:tpl_metaheader_output
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:event:tpl_metaheader_output [2009-10-06 13:35] – andi | devel:event:tpl_metaheader_output [2023-08-06 14:23] (current) – Klap-in | ||
---|---|---|---|
Line 17: | Line 17: | ||
<code php> | <code php> | ||
// Adding a meta value | // Adding a meta value | ||
- | $event-> | + | $event-> |
- | " | + | " |
- | " | + | " |
- | ); | + | ]; |
// Adding a stylesheet | // Adding a stylesheet | ||
- | $event-> | + | $event-> |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | ); | + | ]; |
// Adding a JavaScript File | // Adding a JavaScript File | ||
- | $event-> | + | $event-> |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | ); | + | ]; |
// Adding JavaScript Code | // Adding JavaScript Code | ||
- | $event-> | + | $event-> |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | ); | + | ]; |
</ | </ | ||
Note: | Note: | ||
* When you are adding the stylesheet or javascript file for compatibility with using slash as namespace separator in URLs you should prepend the file link with DOKU_BASE. | * When you are adding the stylesheet or javascript file for compatibility with using slash as namespace separator in URLs you should prepend the file link with DOKU_BASE. | ||
- | * For adding the javascript file you should specify an empty "_data" | + | * For adding the javascript file you should specify an empty '' |
- | + | * You may use other tags as well | |
- | ===== Plugins handling this event ===== | + | <code php> |
- | + | $event-> | |
- | The following plugins are known to handle this event and their source | + | ' |
+ | ' | ||
+ | ]; | ||
+ | </code> | ||
- | * [[plugin: | ||
===== See also ===== | ===== See also ===== | ||
+ | * [[codesearch> | ||
* [[devel: | * [[devel: | ||
* [[devel: | * [[devel: | ||
devel/event/tpl_metaheader_output.1254828936.txt.gz · Last modified: 2009-10-06 13:35 by andi