Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung | Letzte ÜberarbeitungBeide Seiten, nächste Überarbeitung | ||
typo3:form [2018/01/29 21:18] – Personalisierte Anrede in E-Mails admin | typo3:form [2022/01/18 18:57] – Formular in Fluid-Template rendern admin | ||
---|---|---|---|
Zeile 287: | Zeile 287: | ||
===== Templating ===== | ===== Templating ===== | ||
+ | ==== Formular in Fluid-Template rendern ==== | ||
+ | |||
+ | Aufgrund eines Bugs können Formulare nur mit einem Workaround in Website-Templates integriert werden. | ||
+ | |||
+ | - Issue: https:// | ||
+ | |||
+ | **TypoScript: | ||
+ | <code typoscript> | ||
+ | lib.embeddedForm = FLUIDTEMPLATE | ||
+ | lib.embeddedForm { | ||
+ | template = TEXT | ||
+ | template { | ||
+ | value = < | ||
+ | } | ||
+ | extbase { | ||
+ | pluginName = Formframework | ||
+ | controllerExtensionName = Form | ||
+ | controllerName = FormFrontend | ||
+ | controllerActionName = perform | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **Fluid:** | ||
+ | <code html> | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | Danke an Daniel Siepmann, der die Lösung am 6. Oktober 2020 in Slack gepostet hat! | ||
+ | |||
+ | ---- | ||
==== templateRootPaths für Formulare einrichten ==== | ==== templateRootPaths für Formulare einrichten ==== | ||