Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Custom Registration - Where can I extend the Member() class?

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1682 Views
  • Josh
    Avatar
    SilverStripe Developer
    65 Posts

    Custom Registration - Where can I extend the Member() class? Link to this post

    I've got this code working for a custom registration http://pastebin.com/f22b62162 (the file is titled "RegistrationForm.php") and it is writing FirstName, Surname, Email and Password to the database.

    Where would be the best (or easiest - just learning this stuff) place to make this added data write to the member field of the database...

    extending the Member() class maybe? I can't find it in the CMS...

    Cheers

  • Josh
    Avatar
    SilverStripe Developer
    65 Posts

    Re: Custom Registration - Where can I extend the Member() class? Link to this post

    Ended up extending member.php as I couldn't understand the DataObjectDecorator tutorial.

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