Skip to content

Instantly share code, notes, and snippets.

@kikmedia
Created August 22, 2013 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kikmedia/6309430 to your computer and use it in GitHub Desktop.
Save kikmedia/6309430 to your computer and use it in GitHub Desktop.
Configure Contao to preserve date and time on copying events via dcaconfig.php #Contao 2.x
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['addTime'][ 'eval']['doNotCopy']= false;
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['startTime'][ 'eval']['doNotCopy']= false;
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['endTime'][ 'eval']['doNotCopy']= false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment