Zitat von
Andreas
Und was war jetzt die Lösung?
.../app/Resources/contao/dca/tl_news.php
Code:
<?php
// Put your custom configuration here
$GLOBALS['TL_DCA']['tl_news']['fields']['date']['sql'] = "bigint(20) NOT NULL default '0'";
$GLOBALS['TL_DCA']['tl_news']['fields']['time']['sql'] = "bigint(20) NOT NULL default '0'";
Funktioniert zumindest mit dem anlegen und ausgeben der Nachrichten über die Newslist, nicht aber über das Newsarchiv ...
Für Events entsprechend zum anlegen
.../app/Resources/contao/dca/tl_calendar_events.php
Code:
<?php
// Put your custom configuration here
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['startTime']['sql'] = "bigint(20) NOT NULL default '0'";
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['endTime']['sql'] = "bigint(20) NOT NULL default '0'";
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['startDate']['sql'] = "bigint(20) NOT NULL default '0'";
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['endDate']['sql'] = "bigint(20) NOT NULL default '0'";
Contao => Version 4.4.8 , 4.5.0-beta1
Lesezeichen