Feature #85590
closedHooks for DatabaseRecordList CSV actions
100%
Description
Use case:
We would like customize the csv file before the download starts.
Possible hooks:
- customizeCsvInit (So it is possible to rewrite the csv headline)
- customizeCsvRow (So it is possible to change or remove single entries or lines)
Updated by Riccardo De Contardi over 6 years ago
- Related to Feature #71321: CSV-Export: Alternative names for columns added
Updated by Gerrit Code Review over 6 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 https://review.typo3.org/57648
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57648
Updated by Guido Schmechel over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 033ff6e1dfecfcdea25e08d2c1d13457b784e0de.
Updated by Matthias Krappitz about 4 years ago
I just tried to use these hooks in 9.5.22 and they seem to have no effect at all. I even set a breakpoint in the TYPO3 Source Code in \TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::renderListRow($table, $row, $cc, $titleCol, $thumbsCol, $indent = 0) before line 1546 before the hook customizeCsvRow should be processed. This code seems never to be reached when exporting CSV data in list module in single table view. Even when I removed all soure code from method renderListRow() for testing purposes, the list module still renders its record tables and the CSV export in the single table view of the list module still exports CSV data. So is this functionality broken or just not used at all?