I'm trying to remove the 'All Day' field in the DateTime tab to simplify it. I've extended things with Calendar, CalendarEvent and CalendarDateTime subclasses. Now I'm adding an extendTable() function to my CalendarDateTime subclass. I've tried many things (as you can see) to try and remove the All Day checkbox and table header. I'm pretty sure the subclasses are setup correctly because the added Field 'Notes' works properly. Anyone see what I'm missing, or has this functionality been removed? I'm using SS2.4, event calendar #111 and dom #414
public function extendTable() {
$this->setComplex(true);
$this->addPopupField(new TextField('Notes'));
$this->addTableTitle('Notes','Notes');
$this->removePopupField('is_all_day');
$this->removePopupField('All day');
$this->removePopupField('All Day');
$this->removeTableField('is_all_day');
$this->removeTableField('All day');
$this->removeTableField('All Day');
$this->removeTableTitle('is_all_day','All day');
$this->removeTableTitle('All day');
$this->removeTableTitle('All Day');
}
Thanks in advance,
Andrew