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've moved the forum!

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.

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   5356 Views

Avatar
Pixel

Community Member, 78 Posts

27 June 2008 at 3:55am

Something I've just encountered:
If you have UserDefinedForm on several pages and only want to change the layout of one page then you will have to duplicate UserDefinedForm.php (found in cms/code/pagetypes) and .ss and rename them appropriately (ie ContactForm.php , ContactForm.ss). Make sure that the new UserDefinedForm.php has anything with UserDefinedForm replaced with ContactForm - so a simple Find and Replace should work, or do it manually.

Go to Top