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

Kay Strobach typo3 at kay-strobach.de
Fri Dec 3 19:54:52 CET 2010


Hey list,

just a question why is something like the following not allowed?

<f:if condition="{myvar}=='test'">
  Displayed if myvar equals test
</f:if>

I found that it's not allowed, but not how to solve that (current
idea:viewhelper ... :), or why it's not allowed.

I think, it's often so that we need some mapping.

http://www.slideshare.net/skurfuerst/schulung-fluid-templating


Another question:
Is it planned to implement things like substr, strtolower, strtoupper?
(sometimes needed to autogenerate links to assets) ;) Otherwise i would
do it on my own for my extension.


Best regards
Kay


More information about the TYPO3-project-typo3v4mvc mailing list