Hooks for DatabaseRecordList CSV actions
We would like customize the csv file before the download starts.
- 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 Matthias Krappitz 9 months 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?