Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » Form Custom-Layout

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

Page: 1
Go to End
Author Topic: 1540 Views
  • luisq
    Community Member
    15 Posts

    Form Custom-Layout Link to this post

    I'm trying to make a form, where I can have an image next to it. So it look something like this
    | |
    | Content/text |
    | |
    | Form | Image |
    | |
    | |

    I understand how to change the layout for custom pages (like it's showed for the custom home page) This is made by creating a new type of page and making a new layout. But when it's time to make a custom form I don't know what type of code should I use to make it as form-type.

    For normal pages we use

    class HomePage extends Page {


    class HomePage_Controller extends Page_Controller {

    Do I have to use something else for the extend part, instead of Page or Page_Controller?

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.