Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Contact Form Layout

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1683 Views
  • lukehumble
    Avatar
    17 Posts

    Contact Form Layout Link to this post

    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.

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Contact Form Layout Link to this post

    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

  • lukehumble
    Avatar
    17 Posts

    Re: Contact Form Layout Link to this post

    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.

  • sonicparke
    Avatar
    74 Posts

    Re: Contact Form Layout Link to this post

    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.

    1683 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.