I want to add additional content around the contact form, is it possible to do this and if so what do l need to do?
Thanks.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I want to add additional content around the contact form, is it possible to do this and if so what do l need to do?
Thanks.
Everything is possible, but depending on what you want you might need to make your custom form, or add some other variables to your template that you call only when the form is called.
You can always fill in content in the main content section :)
I am quite happy with the fields within the form in the CMS, what l want to achieve is a different layout of the page. Basically l want to add some static content to the left side of the contact form and thus am looking for a solution whereby l can have a template dedicated to the form(s).
I presume this is possible as l came across the ability to do this for the home page (have separate template for the home page than the rest of the site), but not seen anything for the contact forms.
I'm having a little problem with this too. I edited sapphire\templates\Includes\Form.ss but even though I have $Content in a different div it's not showing up there. When I view the source I see all the changes except the content in the proper place.