Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » custom contact us form

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

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

Page: 1 2
Go to End
Author Topic: 4282 Views
  • Pixel
    Community Member
    78 Posts

    Re: custom contact us form Link to this post

    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.

Page: 1 2
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.