[Pmwiki-users] Integrating a script in a template file
Armine ocampo
armine_ocampo2004
Thu Aug 5 11:30:25 CDT 2004
If I use <!--file:otherscript.php--> and
otherscipt.php is to output an HTML page, will this
create a conflict if I do this in the template file
since the template file itself outputs an html file?
(html tags within html tags). Also, I tried the
suggestion and don't see the output of otherscript.php
in the page. Where is this file supposed to be placed?
I tried putting it in the scripts and the
pub/skins/myskins directory.
Thanks,
Armine
--- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> 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
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
More information about the pmwiki-users
mailing list