Re: [ITX] Again
| From: | Bertrand Mansion | Date: | Tue, 25 Jun 2002 16:09:21 +0000 |
| Subject: | Re: [ITX] Again | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1755@lists.php.net to get a copy of this message | ||
le 25/06/02 17:52, Tim Glen à tim@javelindigital.com a écrit :
> Hey all,
>
> First of all, I just wanted to know if ITX is still around in an official
> capacity. I noticed that the pear installer no longer sees it and that it
> isn't listed in the packages. It is, however, still in CVS so that is the
> copy I am using.
>
> I am having trouble - like most people seem to - getting started with ITX..
>
> Basically, I have two types of templates:
> * Page template
> * Fragment templates
>
> My ideal would be to loop through fragments that belong in a page (many of
> which use different templates), load the content into the fragment templates
> and then load the parsed fragments into the proper places on the page.
>
> I have attempted to use the process explained at
>>
>> http://marc.theaimsgroup.com/?l=pear-dev&m=100498428025588&w=2
> and I have read through the PHPDocs of the class(es) but keep getting
> strange results. For instance, the content is being loaded into the page but
> the entire page template is being repeated multiple times in the output. I'm
> starting to be at a loss of how to make this work. I would like to use PEAR
> for this project but if this doesn't work, I will have to find a different
> templating engine.
ITX works fine as far as I know.
The problem is probably in your code and we can't help if we don't know what
you are doing. ITX has not been released yet because its maintainer is too
lazy to do it :-p (or probably too busy...)
Bertrand Mansion
Mamasam