Petko Yotov writes:
To insert stuff in the HTML <head>...</head> section, add the stuff as an element to the $HTMLHeaderFmt, something like:

$HTMHHeaderFmt['my-recipe'] = <<<EOF
<script type="text/javascript">
// your javascript here
</script>
EOF;

-or-

$HTMHHeaderFmt['my-recipe'] = '<script type="text/javascript" src="$PubDirUrl/your-script.js"></script>';

I now see I made a typo: it should be $HTMLHeaderFmt and NOT $HTMHHeaderFmt, see http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#HTMLHeaderFmt

Sorry.

Petko


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to