[Pmwiki-users] Re: include javascript in wiki page
Albi Rebmann
albi
Mon Mar 15 15:13:25 CST 2004
Patrick R. Michaud schrieb:
> Add the following to local/config.php:
>
> $InlineReplacements['/\\[\\[$Weather\\]\\]/'] =
> '<script language="JavaScript" src="http://home.wetteronline.de/cgi-bin/nph-h?PLZ=70736&PLZN=Fellbach&L=de"></script>'';
>
> This will enable the markup "[[$Weather]]" which will produce the HTML output
> requested above.
Ok, \ is needed before the $ and last ' was too much, but now it works
fine. Thanks very much.
Other question to this, can I directly write html code in wiki pages?
Without going via config.php?
ALBI...
More information about the pmwiki-users
mailing list