Jump to:

1973 Posts in 1276 Topics by 607 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: 1472 Views
  • luisq
    Avatar
    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?

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