Re: ITX problems using multiple files
| From: | Bertrand Mansion | Date: | Wed, 29 May 2002 14:43:38 +0000 |
| Subject: | Re: ITX problems using multiple files | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1510@lists.php.net to get a copy of this message | ||
le 29/05/02 16:21, Andrew Cant à acant@uhnres.utoronto.ca a écrit :
>>
>>
>> Make sure you use setCurrentBlock and parseCurrentBlock each time you change
>> of major block.
>>
>
> Yup. I'm doing that, and parsing the block from the inside out. So for
> each major block the minor blocks are set and parsed first.
>
> Since I posted I've also gotten an error from IT.php on line 424. There
> is a foreach loop which is being passed a value which isn't an array.
> This is making me wonder if I've run into a bug in this version(IT.php v
> 1.5) ?
>
> Thanks for your time.
OK, I think you should definitely update your version of IT and ITX :-)
Look at :
http://cvs.php.net/cvs.php/pear/HTML_Template_IT
Cheers,
Bertrand Mansion
Mamasam