Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/svg/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Forms Type3:EXT:form no confirmation finisher在编辑器中_Forms_Typo3_Yaml_Typo3 8.x - Fatal编程技术网

Forms Type3:EXT:form no confirmation finisher在编辑器中

Forms Type3:EXT:form no confirmation finisher在编辑器中,forms,typo3,yaml,typo3-8.x,Forms,Typo3,Yaml,Typo3 8.x,在对所有表单使用EXT:powermail之后,我决定测试软件包附带的新EXT:form。它有一些非常好的选项,虽然我不熟悉.yaml,但我找到了一个包含所有选项的基本表单 我唯一想不出的是如何在后端编辑器中使用确认finisher。。。我手动将确认添加到.yaml: myextension/Private/Resources/Private/Forms/contactForm.yaml finishers: - options: message: 'Thanks fo

在对所有表单使用EXT:powermail之后,我决定测试软件包附带的新EXT:form。它有一些非常好的选项,虽然我不熟悉.yaml,但我找到了一个包含所有选项的基本表单

我唯一想不出的是如何在后端编辑器中使用确认finisher。。。我手动将确认添加到.yaml:

myextension/Private/Resources/Private/Forms/contactForm.yaml

finishers:
  -
    options:
      message: 'Thanks for the enquiry.'
    identifier: Confirmation

任何人都知道如何在后端模块中激活finisher…

EXT:form提供的finisher比默认情况下表单编辑器中提供的finisher更多

以下表单配置将确认完成器添加到后端模块内的表单编辑器中:

    TYPO3:
      CMS:
        Form:
          prototypes:
            standard:
              # Add Confirmation finisher to form editor:
              formElementsDefinition:
                Form:
                  formEditor:
                    editors:
                      900:
                        selectOptions:
                          50:
                            value: 'Confirmation'
                            label: 'formEditor.elements.Form.finisher.Confirmation.editor.header.label'

              # Allow to override confirmation message in form plugin (content element):
              finishersDefinition:
                Confirmation:
                  FormEngine:
                    label: 'formEditor.element.AdvancedPassword.editor.confirmationLabel.predefinedDefaults'
                    elements:
                      message:
                        label: 'formEditor.elements.Form.finisher.Confirmation.editor.header.label'
                        config:
                          type: 'input'

第二部分(如标签所示)允许编辑器更改表单插件中的确认消息。

我从github上的表单发布中获得了这么多!!很好,你分享,但我仍然有一些错误。。。原型“标准”上的renderingOptions->TemplateRootPath是否可能会产生干扰?我读得不太好,现在我在插入确认消息的地方得到了它。。。事实上,我不明白“覆盖完成器设置”的勾选框。谢谢,回答得很好!!