Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

762 Posts in 243 Topics by 250 members

Form Questions

SilverStripe Forums » Form Questions » Form Custom-Layout

Page: 1
Go to End
Author Topic: Form Custom-Layout 332 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?

    332 Views
Page: 1
Go to Top

Currently Online: There is nobody online.

Welcome to our latest member: Newclear

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.