Index: modfunc_file_list/class.tx_dam_file_list.php =================================================================== --- modfunc_file_list/class.tx_dam_file_list.php (revision 33189) +++ modfunc_file_list/class.tx_dam_file_list.php (working copy) @@ -149,6 +149,9 @@ // $dirListFolder = t3lib_div::makeInstance('tx_dam_iterator_dir'); + if ($foldersDisplayExcludeByRegex = $this->pObj->config_checkValueEnabled('foldersDisplayExcludeByRegex')) { + $dirListFiles->excludeByRegex($foldersDisplayExcludeByRegex); + } $dirListFolder->read($this->pObj->pathInfo['dir_path_absolute'], 'dir,link'); $sortField = str_replace('dir_dir_', 'dir_', 'dir_'.$this->pObj->MOD_SETTINGS['tx_dam_file_list_sortField']); $dirListFolder->sort($sortField, $this->pObj->MOD_SETTINGS['tx_dam_file_list_sortRev']); Index: tsconfig/example.txt =================================================================== --- tsconfig/example.txt (revision 33189) +++ tsconfig/example.txt (working copy) @@ -15,6 +15,7 @@ mod.txdamM1_file.contextMenuOnListItems = 0 //mod.txdamM1_file.filesDisplayExcludeByRegex = \.png,0\d +mod.txdamM1_file.foldersDisplayExcludeByRegex = mod.txdamM1_list.guiElements.getSearchBox = 0