Feature #66907
closedAdd possibility to the FLUIDTEMPLATE Content Object to do data processing before rendering
100%
Description
Sometimes it is needed or can be very helpful to do processing on the $data variable of a content element. Some content elements, provided by the core, are using constructs which Fluid can not handle out of the box, like tt_content.table. The contents of the table is entered in the field 'bodytext' as a CSV string. It would be great when this string is transformed into an array before sending it to the view. Using a viewhelper for this is architectural not a good solution.
We should introduce a way to connect your own data processors to the content object using TypoScript, like
my_custom_ctype = FLUIDTEMPLATE my_custom_ctype { templateName = CustomName settings { extraParam = 1 } dataProcessing { 1 = TYPO3/CMS/Frontend/DataProcessing/MyFirstCustomProcessor 2 = TYPO3/CMS/Frontend/DataProcessing/MySecondCustomProcessor 2 { options { myOption = SomeValue } } } }
This way the data processing is extendible and can be called by multiple extensions if necessary. Using TypoScript instead of a hook makes it more flexible and better understandable for integrators.
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39519
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39519
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39519
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39519
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39519
Updated by Gerrit Code Review over 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39519
Updated by Patrick Broens over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 46fd9abd3029f85529b8fba6ef21c633b42ae2df.