Project

General

Profile

Actions

Feature #85590

closed

Hooks for DatabaseRecordList CSV actions

Added by Guido Schmechel over 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
Start date:
2018-07-18
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #71321: CSV-Export: Alternative names for columnsClosed2015-11-04

Actions
Actions #1

Updated by Guido Schmechel over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Riccardo De Contardi over 5 years ago

  • Related to Feature #71321: CSV-Export: Alternative names for columns added
Actions #3

Updated by Gerrit Code Review over 5 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

Actions #4

Updated by Gerrit Code Review over 5 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

Actions #5

Updated by Guido Schmechel over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Matthias Krappitz over 3 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?

Actions

Also available in: Atom PDF