Hi there,
I've been really struggling with setting up a contact form on my site using the Forms plugin.
Almost all pages of my site are modular, with the header/branding and nav buttons and the footer being defined in twig templates in the templates/partials directory.
In in footer.html.twig I have some basic contact info, a map and the space for a simple contact form.
What I ideally want to be able to do is to define the form fields and form layout/formatting in one place - not, for example, in the frontmatter of every page's modular.md, because a change to the layout would have to be carefully copied into each modular.md.
I've tried following the guide for a modular contact form, and I got the contact form to display with the other modular pages of a particular page in the area defined by {% block content %},{% endblock %} in base.html.twig, but I couldn't get the form to display in the footer block.
I would really just like to know if it's possible to have the contact form render in the footer of every page. If it's possible, I'll carry on messing aro und, but at the moment I'm worried I'm hashing my site about and confusing everything trying to achieve something that isn't really possible with Grav!
Thanks for the input.
Chris