dev-master
9999999-dev http://github.com/micschk/silverstripe-multidatepickerProvides an MultipleDatePickerField for managing and saving a string of multiple dates into a text field
BSD License
The Requires
date silverstripe field multiple
Wallogit.com
2017 © Pedro Peláez
Provides an MultipleDatePickerField for managing and saving a string of multiple dates into a text field
Provides an MultipleDatePickerField for managing and saving a string of multiple dates into a text field. Integrates jQuery MDP plugin, a plugin that enables jQuery UI calendar to manage multiple dates. See demo of the javascript interface & configuration options., (*1)
Event Model, (*2)
class Event extends DataObject {
static $db = array(
'Dates' => 'Text'
);
}
Formfield Instantiation:, (*3)
$md = new MultiDateField('Dates');
$md->setConfig('dateformat', 'dd-MM-yyyy');
$md->setConfig('showcalendar', true);
$md->setConfig('separator',' & ');
Provides an MultipleDatePickerField for managing and saving a string of multiple dates into a text field
BSD License
date silverstripe field multiple