Project

General

Profile

Actions

Feature #105649

open

Allow extensions to add custom file selectors

Added by Hannes Lau about 24 hours ago. Updated about 23 hours ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2024-11-20
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

Actions #2

Updated by Hannes Lau about 23 hours ago

  • Subject changed from Allow custom "Add file" buttons to Allow extensions to add custom "Add file" buttons
Actions #3

Updated by Hannes Lau about 23 hours ago

  • Description updated (diff)
Actions #4

Updated by Hannes Lau about 23 hours ago

  • File deleted (Screenshot 2024-11-20 at 11.50.06.png)
Actions #5

Updated by Hannes Lau about 23 hours ago

  • Subject changed from Allow extensions to add custom "Add file" buttons to Allow extensions to add custom file selectors
  • Description updated (diff)
Actions #6

Updated by Hannes Lau about 23 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.

Actions

Also available in: Atom PDF