[TYPO3-mvc] shorthand fluid

Stig Nørgaard Færch snf at dkm.dk
Fri May 9 14:03:59 CEST 2014


Den 09-05-2014 13:43, Xavier Perseguers skrev:
> Hi Stig,
>
>> This works fine:
>> {person.name -> f:for(each: {1:{name: 'John'},2:{name:'Peter'}}, as:
>> 'person')}
>
> This is hardly readable.
>
>> But how can I insert a br tag just after person.name?
>>
>> This of course does not work:
>> {person.name <br/> -> f:for(each: {1:{name: 'John'},2:{name:'Peter'}},
>> as: 'person')}
>>
>> Are there any in depth explanation of the shorthand fluid code?
>
> Create a dedicated VH for that, will be much simpler and better readable.


I'm going to use this once. So if I can avoid a view helper for this, I 
would prefer that.

Is it possible?

/Stig




More information about the TYPO3-project-typo3v4mvc mailing list