Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

custom contact us form

Go to End

9 Posts   4840 Views


14 Posts

14 July 2007 at 1:58am

Is there anyway to customize a contact us form without using the template?


4 Posts

14 July 2007 at 4:50am

I think you can do this from within the administration area, if you look at the demo site goto the contact us page and then the form tab. You can then add fields using the button at the top.

I have only just started using SS so I may be wrong :)


14 Posts

14 July 2007 at 4:54am

well i can add fields and stuff, but the layout is all wrong and I don't know how to change that.


Community Member, 94 Posts

14 July 2007 at 4:12pm

try css


Forum Moderator, 628 Posts

14 July 2007 at 8:46pm

Yeah you want to edit the CSS. Generally the idea is that the HTML is sweet, and the presentation is CSS driven.

If you upload a screenshot of your page or something I'm sure someone can provide CSS ideas; if not try the WSG mailing list; that's a good CSS maillist.


Forum Moderator, 922 Posts

15 July 2007 at 12:33pm

If you're meaning the layout around $Form, which the form from a contact form is rendered into - you can create in your project which would allow you to change the layout for that page type (contact form). Styling the form, however, would be playing with the CSS since the form markup is automatically generated by SilverStripe.

Hope this helps,



14 Posts

17 July 2007 at 2:15am

So would you just create a and put $searchForm in there? And then add the css styles to the content?


Community Member, 78 Posts

27 June 2008 at 3:16am

Copy your main Layout include (ie - templates/Layout/ into and then put $Content, $Form etc into divs and style it with CSS that way.

Go to Top