[FEATURE] Add file links sorting by date and sorting direction
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Configuration / TypoScript / ContentElement / Uploads.txt
1 # File Links:
2 # Makes a list of files for download.
3 #
4 # CType: uploads
5
6 tt_content.uploads =< lib.contentElement
7 tt_content.uploads {
8 templateName = Uploads
9 dataProcessing {
10 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
11 10 {
12 references.fieldName = media
13 collections.field = file_collections
14 sorting.field = filelink_sorting
15 sorting.direction.field = filelink_sorting_direction
16 }
17 }
18 stdWrap {
19 editIcons = tt_content: header [header_layout], media, file_collections, filelink_sorting, [filelink_size|uploads_description|uploads_type]
20 editIcons {
21 iconTitle.data = LLL:EXT:fluid_styled_content/Resources/Private/Language/FrontendEditing.xlf:editIcon.uploads
22 }
23 }
24 }