Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v11 here: TYPO3 ELTS.
Layout ViewHelper <f:layout>
With this tag, you can select a layout to be used for the current template.
Examples
<f:layout name="main" />
Copied!
Output:
(no output)
Copied!
Source code
Go to the source code of this ViewHelper: LayoutViewHelper.php (GitHub).
Arguments
The following arguments are available for <f:
:
name
-
- Type
- string
Name of layout to use. If none given, "Default" is used.