form_file_collection/Tests/Fixtures/form_file_collection_example/Configuration/Forms/Setup.yaml
Daniel Siepmann 5bb586a19a
Add files to template (#2)
Allow to implement custom templates working with files, e.g. providing a
thumbnail, link to full file, etc.
2023-07-24 14:13:08 +02:00

20 lines
755 B
YAML

TYPO3:
CMS:
Form:
persistenceManager:
allowedExtensionPaths:
10: EXT:form_file_collection_example/Configuration/Forms/
prototypes:
standard:
formElementsDefinition:
FileCollection:
renderingOptions:
# Allows to switch between different rendering like "Checkbox", "MultiCheckbox" or "RadioButton", etc.
templateName: 'MultiCheckbox'
FileCollectionCustomTemplate:
implementationClassName: WerkraumMedia\FormFileCollection\Form\FormElement\FileCollectionElement
renderingOptions:
# Use custom template, ensure it can be found within partialRootPaths
templateName: 'Custom'