[TYPO3-mvc] shorthand fluid

Xavier Perseguers xavier at typo3.org
Fri May 9 13:43:18 CEST 2014


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.

-- 
Xavier Perseguers
TYPO3 CMS Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org



More information about the TYPO3-project-typo3v4mvc mailing list