Jump to:

23023 Posts in 11882 Topics by 2830 members

General Questions

SilverStripe Forums » General Questions » Form Templates

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 236 Views
  • Schippie
    Avatar
    Community Member
    23 Posts

    Form Templates Link to this post

    I have been having a question about form templates. Since i have noticed that trying to overrule them simply by including them in your own theme template files (under the folder forms) doesn't always seem to work. Which is quite strange, since some do work but others don't seem to have any effect. Now is my question am i simply overlooking something really easy that causes some to work and others to be ignored and not used?

    Also have already tried the standard /dev/build en flush=1 / =all to no avail .

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Form Templates Link to this post

    You can call setTemplate() to set the form template (http://api.silverstripe.org/3.0/source-class-Form.html#766-775)

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