Feature #105649
openAllow extensions to add custom file selectors
0%
Description
Some fal driver extensions (`cloudinary`, `canto-saas-fal`, maybe others) come with their own file pickers for the TYPO3 backend. They render their own file selectors ("Add file" or "Add image" buttons) into file fields.
A click on the extension specific file selector opens the custom picker.
To do so, these extensions override the `FileControlContainer` class. If you have multiple fal driver extensions with their own pickers installed, this can lead to conflicts.
Provide a method for these extensions to add their own "Add file" buttons, without overriding the `FileControlContainer` core class.
Files
Updated by Hannes Lau about 20 hours ago
- File Screenshot 2024-11-20 at 11.49.09.png Screenshot 2024-11-20 at 11.49.09.png added
- Description updated (diff)
Updated by Hannes Lau about 20 hours ago
- Subject changed from Allow custom "Add file" buttons to Allow extensions to add custom "Add file" buttons
Updated by Hannes Lau about 20 hours ago
- File deleted (
Screenshot 2024-11-20 at 11.50.06.png)
Updated by Hannes Lau about 20 hours ago
- Subject changed from Allow extensions to add custom "Add file" buttons to Allow extensions to add custom file selectors
- Description updated (diff)
Updated by Hannes Lau about 19 hours ago
The existing `\TYPO3\CMS\Backend\Form\Event\CustomFileControlsEvent` allows to add control elements below the list of files, but not above, where the fileSelectors live.