Answers for "":if(condition" typo3"

PHP
1

typo3 inline if

{f:if(condition: '{variable}', then: 'gesetzt', else: 'nicht-gesetzt')}
Posted by: Guest on November-19-2020
0

fluid condition

<f:if condition="{rank} > 100">
  Will be shown if rank is > 100
</f:if>
<f:if condition="{rank} % 2">
  Will be shown if rank % 2 != 0.
</f:if>
<f:if condition="{rank} == {k:bar()}">
  Checks if rank is equal to the result of the ViewHelper "k:bar"
</f:if>
<f:if condition="{foo.bar} == 'stringToCompare'">
  Will result in true if {foo.bar}'s represented value equals 'stringToCompare'.
</f:if>
Posted by: Guest on September-28-2020

Browse Popular Code Answers by Language