How do you make the CMS Admin display a handy calendar for Date entry with SS4.2.1?
I’ve upgraded a section of a site from SS3 to SS4 and I’ve failed so far to figure out how to get the calendar to display. I’ve formatted the Date how my users would like it just fine.
I read all the GitHub discussion about this and it seemed that things were added in some SS4 releases and were then changed and removed in later versions.
What’s the trick please?
$dateField = new DateField(‘FromDate’);
//$dateField->setConfig(‘showcalendar’, true); // SS3 way - removed in SS4
//$dateField->setShowCalendar(true); // seemed to be in the discussion but removed
$dateField->setHTML5(false); // tried true and it didn’t do it either