[TYPO3-core] RFC: Feature #4923: provide new inputfield "directorypicker" in BE

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Jan 25 14:42:12 CET 2008


Ralf Hettinger wrote: on 23.01.2008 00:04:

> Type: New feature
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=4923
> 
> Branches:
> trunk only
> 
> Problem:
> Extend TCA-types with the possibilty to select a directory instead of only
> picking a file. Could be used for e.g. Galleries, Filelists etc.
> 
> Solution:
> This solution is initially provided by Andreas Wolf (thank you!)
> With attached patch, the following is possible by TCA
> [...]
> 'config' => Array (
> 	'type'=>'group',
> 	'internal_type'=>'folder',
> [...]
> ),
> [...]
> 
> There is a .t3x by Andreas attached as "dirpicker"-demo to the bugreport for
> easy demonstration what it does.
> 
> Notes:
> I haven't tested the patch heavily (though I _have_ tested it with the current
> trunk). The original reporter redacted user just passed a request to me couple
> of days ago for this feature to be included in 4.2 since this "dirpicker" seemed
> top be quite well accepted.
> Thanks for reminding, Boris.

Cool feature, yes! My tests gave the same results as Steffen Kamper 
already noted:

- Dir picker works great
- File picker gives a JS error and no file can be selected
- Dir picker (single) gives a JS alert window: "Error - reference to 
main window is not set properly".


Cheers,
Ernesto


More information about the TYPO3-team-core mailing list