Hi, firstly thanks for all the hard work! hope I'm not going crazy here?
I'm trying to create a TeamAdmin Class to extended ModelAdmin.
Everything is great BUT... I don't have a edit icon and they don't have a pop-up? When I click on the title I do go to a new page saying 'Loaded 'My New Team' for editing' but it has no save button and if I hit enter it dies?
SS 2.4.1
<?php
class Team extends DataObject {
static $db = array (
'Title' => 'Varchar(255)',
);
static $searchable_fields = array(
'Title'
);
static $summary_fields = array(
'Title'
);
}
?>
<?php
class TeamAdmin extends ModelAdmin {
public static $managed_models = array(
'Team'
);
public static $allowed_actions = array(
'add',
'edit',
'delete'
);
function getEditForm(){
return $this->bindModelController('Team')->ResultsForm(array());
}
static $url_segment = 'teams';
static $menu_title = 'Teams';
}
?>