[PHPTAL] Re: disabling PHPTal parsing for blocks

2009-08-08 Thread Szymek Przybył
![CDATA[ ]] would help. Cheers! Szymek ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

Re: [PHPTAL] Re: disabling PHPTal parsing for blocks

2009-08-07 Thread Kornel Lesiński
On 07-08-2009 at 15:28:07 Richard Cernava cern...@gmail.com wrote: An example would be: span tal:content=string:I'm PHP/ div tal:interpret=false span tal:content=string:I'm javascript/ /div phptal's out put would be: spanI'm PHP/span div span tal:content=string:I'm javascript/ /div

Re: [PHPTAL] Re: disabling PHPTal parsing for blocks

2009-08-07 Thread Iván -DrSlump- Montes
As a work around perhaps you can place the Javascript template code in separate files and use them like this: script ?php include('my_javascript_tal_template.jstal'); ? /script regards, /imv On Fri, Aug 7, 2009 at 4:28 PM, Richard Cernava cern...@gmail.com wrote: Kornel Lesiński kor...@...

[PHPTAL] Re: disabling PHPTal parsing for blocks

2009-08-07 Thread Richard Cernava
As a work around perhaps you can place the Javascript template code in separate files and use them like this:script  ?php include('my_javascript_tal_template.jstal'); ?/script I hate to destroy the elegance of TAL :) I haven't looked into the metal macro library much, I may be able to work

[PHPTAL] Re: disabling PHPTal parsing for blocks

2009-08-07 Thread Richard Cernava
Kornel Lesiński kor...@... writes: Indeed, you'll have to pick another namespace (this works since 1.2.0): span tal:content=string:I'm PHP/ div xmlns:tal=http://example.com/ns/javascript-tal; span tal:content=string:I'm javascript/ /div Currently there's no option to generate