Alessandro Camilli wrote:
> 
> 
> 
> Ken Petri wrote:
>> 
>> When I use any capturestart/captureend for rendering out content panes,
>> accordion panes, etc., There is a '1' inserted into the div for the
>> widget. Is there a way to suppress this?
>> 
>> Thanks!
>> 
> Try to remove the '=' in the first tag of php code.
> before:
> <?= code....   ?>
> <?= code...   ?>
> After:
> <? code...?>
> <?= code ...?>
> 
> 

Thanks Alessandro. I went through the application and removed the "=" from
all captureStart lines of code. This has fixed the problem. 

With the standalone helpers--ones where I'm not using captureStart/End but
just declaring the helper as a single enclosed chunk of code--the "=" needs
to stay in. 

Can you or anyone explain why this fix is necessary? I noticed it is
necessary whether you use the short_php_tags syntax or use an echo.


-- 
View this message in context: 
http://www.nabble.com/Dojo-capturestart-end-inserting-a-%271%27-tp19872912p19880708.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to