[TYPO3-50-general] RFC: Improved Shorthand Syntax for TypoScript

Sebastian Gebhard sebastian.gebhard at googlemail.com
Thu Oct 22 10:08:00 CEST 2009


Robert Lemke schrieb:
>> {post.title << f:format.crop(maxChars: 30) << f:format.nl2br()}
>>
>> Which for me suggest to put the content from nl2br() to crop() and to 
>> assign it to title :)
> 
> yes.

What about turning the operator around?
{post.title >> f:format.crop(maxChars: 30) >> f:format.nl2br()}

Looks more intuitive to me


More information about the TYPO3-project-5_0-general mailing list