[TYPO3-dev] Call Fluid view-helper in attribute
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Wed Sep 22 01:37:07 CEST 2010
Christian Opitz - Netzelf wrote:
> <submit value="{f.translate('submit')}"/>
You're really close, that's how it works:
{f:translate(key: 'submit')}
Regarding the if viewhelper - I think the shorthand
syntax for the if viewhelper does not work (yet?).
What you can also do, for many viewhelpers is chaining:
{myText->f:nl2br()} (HOpefully the syntax is correct.)
Regards,
Thomas
More information about the TYPO3-dev
mailing list