[Pmwiki-users] Integrating a script in a template file

Patrick R. Michaud pmichaud
Thu Aug 5 09:17:21 CDT 2004


On Thu, Aug 05, 2004 at 05:30:14PM +1200, John Rankin wrote:
> On Thursday, 5 August 2004 12:10 PM, Armine ocampo <armine_ocampo2004 at yahoo.com> wrote:
> >Any ideas on how to include a php script in a template
> >file? 
>
> Well you can make a function call with:
>     <!--function:YourFunction stuff-->
> IIRC this gets interpreted as YourFunction($pagename,'stuff');

You can also do:

      <!--file:otherscript.php-->

which calls otherscript.php directly.

Pm



More information about the pmwiki-users mailing list