DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Integration with TypoScript

This page gives you some examples which you can use for integrating EXT:file_list into a website.

Add file_list by TypoScript

If EXT:file_list should be integrated by using TypoScript only, you can use this code snippet:

lib.filelist = USER
lib.filelist {
    userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
    extensionName = FileList
    vendorName = Causal
    pluginName = Filelist

    switchableControllerActions {
        File {
            1 = list
        }
    }

    settings < plugin.tx_filelist.settings
    settings {
        path = file:1:/path/to/directory/
        mode = FOLDER
        includeSubfolders = 1
        templateLayout = ThumbnailDescription
    }
}

Now you can use the object lib.filelist.