Ive made this file BassdropMember.php
<?
class BassdropMember extends Member {
static $db = array(
"Birthday" => "Date",
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->Push(new DateField("Birthday", "Birthday"));
return $fields;
}
}
?>
The cms field shows up in the admin form, but theres no field in the database for birthday. I have done a flush and Im sure it said building the date field.
The end result is I put a date in for the members birthday, and it doesnt save....
Have I got it all wrong?