Re: Issues with flexy, elements and include
| From: | Alan Knowles | Date: | Sun, 03 Apr 2005 12:50:31 +0000 |
| Subject: | Re: Issues with flexy, elements and include | ||
| References: | 1 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-18502@lists.php.net to get a copy of this message | ||
I think I fixed this in CVS - have a look there (the code that does this
is Flexy/Compiler/Flexy/Flexy.php AFAIR.
Regards
Alan
On Sun, 2005-04-03 at 17:45 +1000, Dan Rossi wrote:
> Just discovered a fault with Flexy that I cant work out why, I am
> including a template inside another template, I am also sending an
> elements array to the main template which i would like to path through
> to the included template , here is how I have done it,
>
> <flexy:include src="videolist.html" />
>
>
> This i put inside the videolist in a form and also in the main template
> only the main template got parsed.
> <SELECT name="episodeID"></SELECT>
>
> Here u can see no elements being sent to the inlcude file in the
> compiled file ??
>
> $x = new HTML_Template_Flexy($this->options);
> $x->compile('videolist.html');
> $x->outputObject($t);