Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

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
    Avatar
    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.

    4282 Views
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.