[Pmwiki-users] DevQ How to include external CSS in all pages

Steven Leite steven_leite
Sun Apr 25 03:01:46 CDT 2004


I'm writing an ad-on that get's included to certain pages.

How can I include

$PubDirUrl/pub/css/myaddon.css

so that it's included between the

<!--HeaderText-->
and
<!--/HeaderText-->

tags in my template.htm file?

I already tried this, but it doesn't seem to be working quite right:

$HTMLHeaderFmt[] = "<link rel=\"stylesheet\"
href=\"$PubDirUrl/css/myaddon.css\" type=\"text/css\" />";

Thanks,

-S




More information about the pmwiki-users mailing list