0
我試圖覆蓋表單擴展模板,但它不適用於最新的TYPO3 8.7.0版。TYPO3 8.7無法覆蓋FORM模板文件
我嘗試像下面這樣,但它不是工作。
plugin.tx_form {
settings {
yamlConfigurations {
10 = fileadmin/form//BaseSetup.yaml
}
}
}
我的BaseSetup.yaml
文件是這樣的。
TYPO3:
CMS:
Form:
persistenceManager:
allowedFileMounts:
10: 1:/user_upload/
allowSaveToExtensionPaths: false
allowDeleteFromExtensionPaths: false
#allowedExtensionPaths:
#10: EXT:example/Resources/Private/Forms/
prototypes:
standard:
########### DEFAULT FORM ELEMENT DEFINITIONS ###########
formElementsDefinition:
### BASE ELEMENTS ###
Form:
__inheritances:
10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseFormElementMixin'
rendererClassName: 'TYPO3\CMS\Form\Domain\Renderer\FluidFormRenderer'
renderingOptions:
__inheritances:
10: 'TYPO3.CMS.Form.mixins.translationSettingsMixin'
templateRootPaths:
10: 'fileadmin/form/Resources/Private/Frontend/Templates/'
partialRootPaths:
10: 'fileadmin/form/Resources/Private/Frontend/Partials/'
layoutRootPaths:
10: 'fileadmin/form/Resources/Private/Frontend/Layouts/'
任何人都幫我請。
謝謝!
我認爲這是錯誤在你給出的文件路徑 –