contao/import — Issue #2618: wizard filePicker
Author: tsarma
Created: 2011-11-29 19:52:16+00:00
State: open
Labels: Accepted, backend, Feature

This would be nice if wizard filePicker respects the 'eval' file extensions, becoz if I am interested in selecting only MP3 files, i don't wan't the listing of all files in tl_files folder.

```
$GLOBALS['TL_DCA']['tl_tm_tracks']['fields']['trackSRC'] = array
(
'label'	=> &$GLOBALS['TL_LANG']['tl_tm_tracks']['trackSRC'],
'exclude'	=> true,
'inputType'	=> 'text',
'eval'	=> array('tl_class'=>'w50 wizard', 'extensions'=>'mp3'),
'wizard' => array
(
array('tl_tm_tracks', 'filePicker')
)
);
```

--- _Originally created on October 15th, 2010, at 08:59am (ID 2618)_