Configuration over TypoScript
plugin.tx_filelist.settings
This table is an overview of the main keys in the plugin configuration
plugin.tx_filelist.settings:
Properties
| Property | Data type | stdWrap | Default | 
|---|---|---|---|
| path | string | yes | empty | 
| root | string, array | yes | empty | 
| dateFormat | string | yes | "d.m.Y H:i" | 
| fileIconRootPath | string | yes | "EXT:file_list/Resources/Public/Icons/Files/" | 
| newDurationMaxSubfolders | integer | yes | 3 | 
| name | string | no | empty | 
| extension | string | no | empty | 
Property details
path
plugin.tx_filelist.settings.path = file:1:/path/to/folder/Root folder for the plugin.
root
plugin.tx_filelist.settings.root = file:1:/path/to/folder/or
plugin.tx_filelist.settings.root {
    10 = file:1:/path/to/folder/
    20 = file:2:/some/other/
}Allowed root folder or array of allowed root folders. This forces the folder of all plugins to be within these folders' hierarchy.
dateFormat
plugin.tx_filelist.settings.dateFormat = d.m.Y H:i:sFormat used by the default templates to show file's creation date.
fileIconRootPath
plugin.tx_filelist.settings.fileIconRootPath = EXT:<extension-key>/Resources/Public/Icons/FileTypes/Path to the directory containing icons for file types (either relative to site root or prefixed with an extension name).
newDurationMaxSubfolders
plugin.tx_filelist.settings.newDurationMaxSubfolders = 3Number of subdirectory levels to check for new files (in order to show a "new" badge for folders).
extension.category.<name>
plugin.tx_filelist.settings.extension.category.<name> = extension1, extension2Comma-separated list of extensions belonging to the category "name".
When a file link is rendered, the extension searches for a dedicated icon (e.g.,
docx. or docx. in directory fileIconRootPath. If this
dedicated icon is not found, the category icon will be used instead
(category_).
Default are categories "archive", "document", "flash", "image", "sound", "source" and "video" defined with all common corresponding file extensions.
extension.remap.<extension>
plugin.tx_filelist.settings.extension.remap.<extension1> = extension2Remapping of extensions before falling back to the category icon. If "docx" is remapped to "doc" with
extension.remap.docx = docand a ".docx" file is encountered when rendering the file link, a
docx. or docx. icon will be searched for.
If not found, a doc. or doc. icon will be searched for to
be used instead. And if not found, the category icon will be used as a fallback
option.