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 v10 here: TYPO3 ELTS.
dataProcessing
dataProcessing is a property of FLUIDTEMPLATE.
The property adds one or multiple processors to manipulate the $data
variable of the currently rendered content object, like tt_content or page.
The sub-property data
can be used to pass
parameters to the processor class.
There are several data processors available to allow flexible processing, for example for comma-separated values, related files or related records.
About the examples
All examples listed here can be found in the TYPO3 Documentation Team extension examples.
Once the extension t3docs/examples is installed the examples are available as content elements:
All examples listing here depend on
Create a custom content element type. Data processors can
also be used in rendering page templates. In this case TypoScript context
would be the page record and all fields of the pages
table
are available.
All examples base on lib.
, which is provided by
the system extension fluid_styled_content.
In this system extension it is defined as follows:
lib.contentElement >
lib.contentElement = FLUIDTEMPLATE
lib.contentElement {
templateName = Default
// ...
}
The extension examples
also sets the paths to the additional templates:
lib.contentElement {
templateRootPaths.200 = EXT:examples/Resources/Private/Templates/ContentElements/
partialRootPaths.200 = EXT:examples/Resources/Private/Partials/ContentElements/
layoutRootPaths.200 = EXT:examples/Resources/Private/Layout/
}