[pmwiki-users] displaying coordinates of mouse click

Petko Yotov 5ko at 5ko.fr
Fri Jun 7 10:48:29 CDT 2013


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




More information about the pmwiki-users mailing list