Re: [PHPTAL] How to disabe ${php: XXXX} forced echo?

2010-01-12 Thread Kornel Lesinski
On 11 Jan 2010, at 21:07, the...@spiffyjr.me the...@spiffyjr.me wrote: Is there anyway to prevent PHPTAL from automatically echoing the result of ${php: }? There's no explicit way to do it. You could wrap call in function that returns nothing (e.g. substr(,0,0)). I have

Re: [PHPTAL] How to disabe ${php: XXXX} forced echo?

2010-01-12 Thread theman
That's unfortunate and something I feel needs addressed. Thanks for the answer. On Tue, 12 Jan 2010 09:56:45 +, Kornel Lesinski kor...@aardvarkmedia.co.uk wrote: On 11 Jan 2010, at 21:07, the...@spiffyjr.me the...@spiffyjr.me wrote: Is there anyway to prevent PHPTAL from automatically

Re: [PHPTAL] How to disabe ${php: XXXX} forced echo?

2010-01-12 Thread Kornel Lesinski
On 12 Jan 2010, at 16:02, the...@spiffyjr.me wrote: Thanks for the advice. I'd prefer to go with method #1 because that is how I was previously rendering templates with Zend_View. The echo issue still remains, however. If I use ${dojo().onLoadCaptureEnd()} then I get random 1 outputs

[PHPTAL] How to disabe ${php: XXXX} forced echo?

2010-01-11 Thread theman
Is there anyway to prevent PHPTAL from automatically echoing the result of ${php: }? I have integrated PHPTAL with Zend Framework and Dojo but have an issue when attempting to use dojo().onLoadCaptureStart(). // inline-content.tpl.html tal:block ${helper: dojo().onLoadCaptureStart()}