Re: dynamic include with FLEXY
| From: | Jacob Singh | Date: | Tue, 15 Mar 2005 11:05:13 +0000 |
| Subject: | Re: dynamic include with FLEXY | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18064@lists.php.net to get a copy of this message | ||
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