Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


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

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

Custom Registration - Where can I extend the Member() class?


2 Posts   1699 Views


27 February 2008 at 1:00pm (Last edited: 27 February 2008 1:00pm), SilverStripe Developer, 65 Posts

I've got this code working for a custom registration [url][/url] (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...



27 February 2008 at 3:52pm (Last edited: 27 February 2008 3:52pm), SilverStripe Developer, 65 Posts

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