Attention

TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

else

Else-Branch of a condition. Only has an effect inside of "If". See the If-ViewHelper for documentation.

= Examples =

<code title="Output content if condition is not met"> <f:if condition="{someCondition}">

<f:else>

condition was not true

</f:else>

</f:if> </code> <output> Everything inside the "else" tag is displayed if the condition evaluates to FALSE. Otherwise nothing is outputted in this example. </output>

Arguments

if

DataType

boolean

Required

false

Description

Condition expression conforming to Fluid boolean rules