[TYPO3-mvc] new feature proposal: f:format.crop returns whole if set to 0

Franz Koch typo3.RemoveForMessage at elements-net.de
Mon Mar 7 11:32:39 CET 2011


Hey,

> in this way, for example in a fluid tempalte with
> <f:format.crop maxCharacters="{settings.cropLength}"
> respectWordBoundaries="true">{newsItem.bodytext}</f:format.crop>
>
> we just need to set settings.cropLength = 0, and you got the full bodytext

you could also use a if-condition though ;) But the fallback would be 
fine for me.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list