Project

General

Profile

Actions

Bug #87538

closed

Custom form template in yaml definition does not work

Added by Bernhard Eckl over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-01-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I have set a custom template path in the global yaml configuration, but it always uses the standard template. Here is my setup:

TYPO3:
CMS:
Form:
persistenceManager:
allowedFileMounts:
100: 1:/asf/
110: 1:/sdgesg/
120: 1:/rwhgwrth/
130: 1:/wrthwrth/
140: 1:/oertherthert/
150: 1:/ertherth/
160: 1:/terjertjetrj/
170: 1:/oetherth/
allowSaveToExtensionPaths: false
allowDeleteFromExtensionPaths: false
#allowedExtensionPaths:
#10: EXT:example/Resources/Private/Forms/
formManager:
dynamicRequireJsModules:
app: 'TYPO3/CMS/Form/Backend/FormManager'
viewModel: 'TYPO3/CMS/Form/Backend/FormManager/ViewModel'
stylesheets:
100: 'EXT:form/Resources/Public/Css/form.css'
translationFile: 'EXT:form/Resources/Private/Language/Database.xlf'
javaScriptTranslationFile: 'EXT:form/Resources/Private/Language/locallang_formManager_javascript.xlf'
selectablePrototypesConfiguration:
100:
identifier: 'standard'
label: 'formManager.selectablePrototypesConfiguration.standard.label'
newFormTemplates:
500:
templatePath: 'EXT:tezhetrzherzth/EventForm.yaml'
label: 'Veranstaltungsformular'
prototypes:
standard:
formElementsDefinition:
Form:
renderingOptions:
templateRootPaths:
100: 'assets/templates/ext/formframework/Templates/'

Actions

Also available in: Atom PDF