Any idea why FileIFrameField would fail in SS 2.2.2 within the following?
class Track extends DataObject {
static $db = array(
'Band' => 'Varchar(255)',
'TrackTitle' => 'Varchar(255)'
);
static $has_one = array(
'MySongs' => 'Songs',
'FileName' => 'File'
);
function getCMSFields_forPopup() {
$fields = new FieldSet();
$fields->push( new TextField( 'Band', 'Band Name' ) );
$fields->push( new TextField( 'TrackTitle', 'Track Title' ) );
$fields->push( new FileIFrameField( 'FileName', 'File' ) );
return $fields;
}
}