I have a custom "Contact Us" form that sits within my Sitepackage - using TYPO3 v10.
The form works fine and I'm able to insert the form on any page the same way you'd insert any other form/content element.
What I'd like to do is have the form present on every page by adding it to my global layout template, so that it sits in the footer.
From the docs, I added this to my Fluid layout template:
<formvh:render persistenceIdentifier="EXT:my_site_package/Resources/Private/Forms/my_contact_us.form.yaml"/>
And I added this to my form conf (my_contact_us.form.yaml):
renderingOptions:
controllerAction: perform
addQueryString: false
argumentsToBeExcludedFromQueryString: [ ]
additionalParams: [ ]
When I do this, I get a type error:
Argument 1 passed to TYPO3CMSExtbaseServiceExtensionService::getPluginNameByAction() must be of the type string, null given
Is there something I haven't configured correctly? Any help is appreciated, thanks again.
question from:
https://stackoverflow.com/questions/65935503/embed-custom-extform-in-fluid-layout-file 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…