From: Charlene on
I have seen an occasional glitch when looping with a block. Once in a
while when I finish filling in the template and use either the show or
get method, it adds a blank block to the final output. When I look at
the template object (print_r ($template, true)), I don't see the extra
block.

It usually seems to go away without me doing anything (or else I'm
fixing other things with the code). But today it just won't go away and
I don't have anything to fix. BTW, it was working fine at least a
week ago with no changes in the code.

Charlene


From: Cesare D'Amico on
Il giorno giovedì 31 luglio 2008, Charlene ha scritto:
> It usually seems to go away without me doing anything (or else I'm
> fixing other things with the code).  But today it just won't go away
> and I don't have anything to fix.  BTW, it was working fine at least
> a week ago with no changes in the code.

Look if you have placeholders with the same name inside and outside the
block you parse (at least with HTML_Template_Sigma this can give the
same problem).

Ciao
ce

--
Cesare D'Amico | Gruppo Volta
Area tecnica | Web & Mkt Solutions
Tel: 045 21 000 84 | Via Leida 8 - Verona
Fax: 045 21 000 85 | http://www.gruppovolta.it
From: Charlene on

> Look if you have placeholders with the same name inside and outside
> the block you parse (at least with HTML_Template_Sigma this can give
> the same problem).
Thanks for the response. But that isn't the problem. I only use this
one template file to create a static stub that is accessed by Ajax. And
it only has the loop placeholder.