[TYPO3-mvc] Including dynamic JavaScript using Tx_Fluid_View_StandaloneView [solution]

Fernando Arconada falcifer2001 at yahoo.es
Tue Dec 14 20:11:51 CET 2010


There is a feature request in the issue tracker related to an alternative 
fluid syntax and managing header parts inside fluid templates

El Tue, 14 Dec 2010 10:45:27 +0100, Steffen Müller escribió:

> Hi Michiel,
> 
> On 11.12.2010 20:40 Michiel Roos [netcreators] wrote:
>>
>> The downside to this approach is that fluid has a hard time with braces
>> in templates. This is of course because JS also uses those braces a
>> lot.
>>
>> My solution is to replace all the { in the JS with: {openingBrace} and
>> all the } with {closingBrace}. And then all is fine
>>
>>
> I'd rather like to see it the other way round. Leaving { and } unparsed
> and use alternative delimiters for fluid. For example: ###blog.title###
> ? *lol*
> Could this be achieved by using some kind of JS viewHelper?



More information about the TYPO3-project-typo3v4mvc mailing list