plugin.tx_filelist_pi1¶
This table is an overview of the main keys in the plugin configuration plugin.tx_filelist_pi1 (legacy):
Properties¶
| Property | Data type | stdWrap | Default |
|---|---|---|---|
| extension.category.<name> | string | no | empty |
| extension.remap.<extension> | string | no | empty |
| iconsPathFiles | string | yes | “EXT:file_list/Resources/Public/Icons/Files/” |
| iconsPathFolders | string | yes | “EXT:file_list/Resources/Public/Icons/Folders/” |
| iconsPathSorting | string | yes | “EXT:file_list/Resources/Public/Icons/Sorting/” |
| ignoreFileNamePattern | string | no | “/^(..*|thumbs.db)$/i” |
| ignoreFolderNamePattern | string | no | “/^(..*|CVS)$/i” |
| root | path, string | yes | “fileadmin/” |
| templateFile | string | yes | “EXT:file_list/Resources/Private/Templates/template_pi1.html” |
Property details¶
extension.category.<name>¶
plugin.tx_filelist_pi1.extension.category.<name> = string
Comma-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.png or docx.gif in
directory iconsPathFiles. If this dedicated icon is not found, the category icon will be used instead
(category_name.png).
Default are categories “archive”, “document”, “flash”, “image”, “sound”, “source” and “video” defined with all common corresponding extensions.
extension.remap.<extension>¶
plugin.tx_filelist_pi1.extension.remap.<extension> = string
Remapping of extensions before falling back to the category icon. If “docx” is remapped to “doc” with
extension.remap.docx = doc
and a “.docx” file is encountered when rendering the file link, a docx.png or docx.gif icon will be
searched for.
If not found, a doc.png or doc.gif icon will be searched for to be used instead. And if not found, the
category icon will be used as a fallback option.
iconsPathFiles¶
plugin.tx_filelist_pi1.iconsPathFiles = string
Path to the directory containing icons for file extensions and file categories (either relative to site root or prefixed with an extension name).
iconsPathFolders¶
plugin.tx_filelist_pi1.iconsPathFolders = string
Path to the directory containing icons for folders (either relative to site root or prefixed with an extension name).
iconsPathSorting¶
plugin.tx_filelist_pi1.iconsPathSorting = string
Path to the directory containing the sort icons, up and down (either relative to site root or prefixed with an extension name).
ignoreFileNamePattern¶
plugin.tx_filelist_pi1.ignoreFileNamePattern = string
Perl compatible regular expression for file names which shouldn’t be displayed. For further information on how to use
Perl compatible regular expressions please visit http://php.net/manual/en/book.pcre.php. The default value avoids all
files starting with a “.” (system hidden files) as well as those named Thumbs.db (Microsoft Windows related
thumbnail files) to be shown in the frontend.
ignoreFolderNamePattern¶
plugin.tx_filelist_pi1.ignoreFolderNamePattern = string
Perl compatible regular expression for folder names which shouldn’t be displayed. For further information on how to use
Perl compatible regular expressions please visit http://php.net/manual/en/book.pcre.php. The default value avoids all
folders starting with a “.” (system hidden folders) as well as those named CVS (versioning system folders) to be
shown in the frontend.