Hello,
I'm new to silverstripe and playing with ModelAdmin. I'm trying to overwrite SearchForm() in my EnquiryAdmin Class. Thing is Overwriting doesn't work for me.
class EnquiryAdmin_CollectionController extends ModelAdmin_CollectionController{
public function SearchForm() {
$form = parent::SearchForm();
var_dump($form);
die;
return $form;
} ...
}
No dump, no die :S
What am I doing wrong?
Thanks in advance!