mirror of
https://github.com/werkraum-media/form_file_collection.git
synced 2024-05-20 05:04:11 +02:00
Daniel Siepmann
5bb586a19a
Allow to implement custom templates working with files, e.g. providing a thumbnail, link to full file, etc.
20 lines
755 B
YAML
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'
|