[TYPO3-mvc] Fluid f:if question, other viewHelpers

Kay Strobach typo3 at kay-strobach.de
Mon Dec 6 14:54:57 CET 2010


Hello Franz,

> I could have sworn that there is a "transform" viewHelper somewhere
> that's able to shift cases (ucfirst, strtolower etc.). If it's missing,
> there's a good chance that those are already available on the viewHelper
> incubator.
> 

I took a look into
 Viewhelpers dir in ext:fluid - no transform
and
 http://forge.typo3.org/projects/package-viewhelperincubator/repository
found nothing which sounds like transform ;)

I think it should be quite easy to write a viewHelper for that stuff.
Can i email them to you for integration into ext:fluid? (I would just
write adapters for the php builtin functions)
 - substr
   Tx_Fluid_ViewHelpers_Format_SubStrViewHelper
 - strtolower
   Tx_Fluid_ViewHelpers_Format_StrToLowerViewHelper
 - strtoupper
   Tx_Fluid_ViewHelpers_Format_StrUpperViewHelper

@string condition i will write my own viewHelper ;)

Best regards
Kay


More information about the TYPO3-project-typo3v4mvc mailing list