Zum Inhalt springen

Customize file download for editors

You can make life a lot easier for editors by making a few adjustments for file downloads.

In the user TSconfigyou can set that the file size is displayed by default and the default layout is set:

##Download with filesize
TCAdefaults.tt_content.filelink_size = 1
##Layout for Download with icon
TCAdefaults.tt_content.layout.types.uploads = 1

In the TSconfig page, you give the layouts a name so that the editor knows what to set:

#uploads alt labels
TCEFORM.tt_content.layout.types.uploads {
    removeItems = 0,3
    altLabels.1 = Icon
    altLabels.2 = Preview
}
Updated: 17.07.2024