[TASK] Display content_date in sys_file_metadata TCA 43/48243/2
authorStephan Großberndt <stephan@grossberndt.de>
Mon, 23 May 2016 11:35:57 +0000 (13:35 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 28 May 2016 19:56:16 +0000 (21:56 +0200)
Display content_creation_date and content_modification_date of images,
audio files and videos in the TCA of sys_file_metadata records.

Resolves: #76267
Releases: master, 7.6
Change-Id: I77dd1b35f5ba7e1f4dbd975ad1ad339e8a0ada6e
Reviewed-on: https://review.typo3.org/48243
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/filemetadata/Configuration/TCA/Overrides/sys_file_metadata.php

index 206bc99..954f9f5 100644 (file)
@@ -41,6 +41,7 @@ $tca = array(
                                        creator, creator_tool, publisher, source, copyright, language,
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40,
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.gps;30,
+                                       --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.content_date;60,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.camera,
                                        color_space,
                                        --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.metrics;50
@@ -55,6 +56,7 @@ $tca = array(
                                        fe_groups,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
                                        creator, creator_tool, publisher, source, copyright, language,
+                                       --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.content_date;60,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.audio,
                                    duration
                        ',
@@ -68,6 +70,7 @@ $tca = array(
                                        fe_groups,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
                                        creator, creator_tool, publisher, source, copyright, language,
+                                       --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.content_date;60,
                                --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.video,
                                        duration
                        ',