RE: [PEAR] Help with Flexy Template package
| From: | Alan Knowles | Date: | Wed, 30 Mar 2005 05:14:52 +0000 |
| Subject: | RE: [PEAR] Help with Flexy Template package | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18405@lists.php.net to get a copy of this message | ||
$x = new HTML_Template_Flexy(array(
'allowPHP' => true,
... other options ....
));
$x->compile('your file.html');
$x->outputObject(....);
Regards
Alan
On Tue, 2005-03-29 at 12:04 -0600, Pedro Irán Méndez Pérez wrote:
> Yes, I solved moving the <?php instructions, but where can I set
> allowPhp=true?
>
> > -----Mensaje original-----
> > De: Alan Knowles [mailto:alan@akbkhome.com]
> > Enviado el: Lunes, 28 de Marzo de 2005 08:08 p.m.
> > Para: Pedro Irán Méndez Pérez
> > CC: PEAR general list
> > Asunto: Re: [PEAR] Help with Flexy Template package
> >
> > AFAIR you used this in the script,
> > <script language="php"> ..... </script>
> >
> > without enabling the allowPHP=true option.
> >
> > Regards
> > Alan
> >
> > On Mon, 2005-03-28 at 12:39 -0600, Pedro Irán Méndez Pérez wrote:
> > > Yes, but the docs is for users that know about templates, I
> > am start
> > > with this, I can't run the example included in the pear
> > help :(, the
> > > message of error is:
> > >
> > > HTML_Template_Flexy fatal error:PHP code found in script (Token)
> > >
> > > Thank you for aswer :)
> > >
> > > > > -----Mensaje original-----
> > > > > De: cron@odi.com.br [mailto:cron@odi.com.br] Enviado el:
> > > > Lunes, 28 de
> > > > > Marzo de 2005 12:24 p.m.
> > > > > Para: Pedro Irán Méndez Pérez
> > > > > Asunto: Re: [PEAR] Help with Flexy Template package
> > > > >
> > > > > Did you read the docs?
> > > > >
> > > > > Angelo
> > > > > ----- Original Message -----
> > > > > From: "Pedro Irán Méndez Pérez" <iranchito@yahoo.com.mx>
> > > > > To: "PEAR general list" <pear-general@lists.php.net>
> > > > > Sent: Monday, March 28, 2005 2:41 PM
> > > > > Subject: [PEAR] Help with Flexy Template package
> > > > >
> > > > >
> > > > > Hello everybody, I am very surprised with PEAR, and I want
> > > > star to use
> > > > > the Flexy package, but I don´t know how.
> > > > >
> > > > > ¿Can You orient me, Can You help me please?
> > > > >
> > > > > Thank you
> > > > >
> > > > > =============
> > > > > Los verdaderos líderes tienen algo que ofrecer y lo ofrecen
> > > > > gratuitamente.
> > > > > ¿Que estas ofreciendo?
> > > > > =============
> > > > > Atte. Pedro Irán Méndez Pérez
> > > > > -----------------------
> > > > > www.irancho.tausis.org
> > > > > -----------------------
> > > > > Tel: 1-76-33-20
> > > > > Cel: 9991-59-59-52
> > > > > ------------------
> > > > > irancho@tausis.org
> > > > > irancho@fmat.uady.mx
> > > > > irancho2@yahoo.com.mx
> > > > > iranchito@yahoo.com.mx
> > > > > pmendez@aspel.com.mx
> > > > >
> > > > > --
> > > > > PEAR General Mailing List (http://pear.php.net/) To unsubscribe,
> > > > > visit: http://www.php.net/unsub.php
> > > > >
> > > > >
> > > >
> >
> > --
> > PEAR General Mailing List (http://pear.php.net/) To
> > unsubscribe, visit: http://www.php.net/unsub.php
> >
>