Re: dynamic include with FLEXY
| From: | Alan Knowles | Date: | Tue, 15 Mar 2005 13:07:09 +0000 |
| Subject: | Re: dynamic include with FLEXY | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18067@lists.php.net to get a copy of this message | ||
Actually, that's probably more reliable.. - It's what I've been doing
this since I've first wrote flexy.
Regards
Alan
On Tue, 2005-03-15 at 16:35 +0530, Jacob Singh wrote:
> Thanks Alan,
>
> Doesn't work however. It says "flexy:include without src attibute". I
> tried to track down the code, but I'm a little lost. Can you tell me
> where I might find this and/or an alternative solution? I've resorted
> to using a method in my output object that instantiates another flexy
> parser for each files I'm trying to compile. This doesn't seem like
> best practices...
>
> Regards,
> Jacob
>
> Alan wrote:
>
> >Can remember, you will have to double check the code, but if it does the
> >format would be:
> >
> ><flexy:include src="{variable}" />
> >
> >Regards
> >Alan
> >On Mon, 2005-03-14 at 19:31 +0530, Jacob Singh wrote:
> >
> >
> >>Hi,
> >>
> >>I'm trying to loop through an array of template names and include them
> >>in flexy. Is this possible?
> >>
> >><flexy:include src=variable>
> >>
> >>treats variable as a string literal, even though there are no quotes there.
> >>
> >>Thanks,
> >>Jacob
> >>
> >>
--
Alan Knowles <alan@akbkhome.com>