Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/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 Typo3 Neos:如何将表单插入模板_Forms_Typo3_Yaml - Fatal编程技术网

Forms Typo3 Neos:如何将表单插入模板

Forms Typo3 Neos:如何将表单插入模板,forms,typo3,yaml,Forms,Typo3,Yaml,是否可以将TYPO3.form格式的表单构建插入模板中?我在.yaml文件中定义了所有需要的字段,并希望直接在模板中呈现,而不是通过后端插入。我不确定是否正确理解您的意思,但在键入脚本配置中,您可以指定将在页面上呈现的节点类型。我需要在所有站点的页脚中呈现表单,以下是我的工作配置: Root.ts2 footerData { form = TYPO3.Neos.NodeTypes:Form { formIdentifier = "minimal-conta

是否可以将TYPO3.form格式的表单构建插入模板中?我在.yaml文件中定义了所有需要的字段,并希望直接在模板中呈现,而不是通过后端插入。

我不确定是否正确理解您的意思,但在键入脚本配置中,您可以指定将在页面上呈现的节点类型。我需要在所有站点的页脚中呈现表单,以下是我的工作配置:

Root.ts2

footerData {
        form = TYPO3.Neos.NodeTypes:Form {
            formIdentifier = "minimal-contact-form"
        }
}
Default.html

...

{footerData.form -> f:format.raw()}

...
type: 'TYPO3.Form:Form'
identifier: minimal-contact-form
label: 'Minimal Contact form'
...
最小联系方式。yaml

...

{footerData.form -> f:format.raw()}

...
type: 'TYPO3.Form:Form'
identifier: minimal-contact-form
label: 'Minimal Contact form'
...