Re: Real world usage of IT [template] class?

From: Date: Tue, 21 May 2002 10:39:31 +0000
Subject: Re: Real world usage of IT [template] class?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1414@lists.php.net to get a copy of this message
>> I already posted a small example of addBlockFile usage : >> >> http://marc.theaimsgroup.com/?l=pear-dev&m=100498428025588&w=2 I'm having some problems with your example, as it produces an error: IntegratedTemplate Error: The variable placeholder 'HEREITGOES' must be unique, found in multiple blocks ''. I think this is an ITX bug, as your code has worked for other persons in this list. Any ideas as to what is causing this error? best, Nuno Ferreira "Bertrand Mansion" <bmansion@mamasam.com> wrote in message news:B8D622B7.6B91%bmansion@mamasam.com... le 5/04/02 21:23, derek fong à pear@subtitled.com a écrit : >> I already posted a small example of addBlockFile usage : >> >> http://marc.theaimsgroup.com/?l=pear-dev&m=100498428025588&w=2 >> >> It is stable now, just make sure you use the last versions. > > Hi Bertrand, > > Thanks for the link, it helps a lot for what I am trying to do. I followed > everything you were explaining in that message until the following comment: > > // It creates a new block called BLOCK_SECONDTPL in place > // of SECONDTPL which you can use as you want. > > Where is the SECONDTPL placeholder referenced in the example? Good catch, that was the mistake I made, you had to find out. Just to make sure you understood the example well ;) Bertrand

« previous php.pear.general (#1414) next »