Element browser shows no files if value for allowed in TCA is *
In my TCA of an extension:
'file' => array( 'exclude' => 0, 'label' => 'LLL:EXT:gehc_products/Resources/Private/Language/locallang_db.xlf:tx_gehcproducts_domain_model_download.file', 'config' => array( 'type' => 'group', 'internal_type' => 'file', 'uploadfolder' => 'uploads/tx_gehcproducts', 'allowed' => '*', 'disallowed' => 'php', 'size' => 5, ), ),
If allowed is set to '*', there are no files shown in the element browser.
I set it to 'pdf', then all pdf-files are shown.
But I need the wildcard.
#1 Updated by Wouter Wolters about 6 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
From the documentation at http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Group/Index.html it says:
Default value is '*' which means that anything file-extension which is not allowed is denied.
If you set this value (to for example "php,php3") AND the "allowed" key is an empty string all extensions are permitted except ".php" and ".php3" files
Can you try to remove the * and try it with an empty string?