Kester, in der 3.3.x Version sind die Einträge wie z.B. (Datum anzeigen) nicht mehr zu sehen, da kommen nur dei individulellen Templates und dann ist Schluß... ;(
Ursache ist das der replace für timetable und yearview bei folgendendem SourceCode den replace nicht mehr durchführen:
PHP-Code:
cal_ctemplate,customTpl;{protected_legend:hide}
weil die customTpl dazugekommen sind.
workaround für tl_module.php:
PHP-Code:
// Palette for timetable
$GLOBALS['TL_DCA']['tl_module']['palettes']['timetable'] = $GLOBALS['TL_DCA']['tl_module']['palettes']['calendar'];
if (version_compare(VERSION . '.' . BUILD, '3.3.0', '>'))
{
$GLOBALS['TL_DCA']['tl_module']['palettes']['timetable'] = str_replace
(
',cal_ctemplate,customTpl;{protected_legend:hide}',
',cal_ctemplate,customTpl,showDate,hideEmptyDays,use_navigation,linkCurrent,cal_times;{protected_legend:hide}',
$GLOBALS['TL_DCA']['tl_module']['palettes']['timetable']
);
}
else
{
$GLOBALS['TL_DCA']['tl_module']['palettes']['timetable'] = str_replace
(
',cal_ctemplate;{protected_legend:hide}',
',cal_ctemplate,showDate,hideEmptyDays,use_navigation,linkCurrent,cal_times;{protected_legend:hide}',
$GLOBALS['TL_DCA']['tl_module']['palettes']['timetable']
);
}
// Palette for yearview
$GLOBALS['TL_DCA']['tl_module']['palettes']['yearview'] = $GLOBALS['TL_DCA']['tl_module']['palettes']['calendar'];
if (version_compare(VERSION . '.' . BUILD, '3.3.0', '>'))
{
$GLOBALS['TL_DCA']['tl_module']['palettes']['yearview'] = str_replace
(
',cal_ctemplate,customTpl;{protected_legend:hide}',
',cal_ctemplate,customTpl,use_horizontal,use_navigation,linkCurrent;{protected_legend:hide}',
$GLOBALS['TL_DCA']['tl_module']['palettes']['yearview']
);
}
else
{
$GLOBALS['TL_DCA']['tl_module']['palettes']['yearview'] = str_replace
(
',cal_ctemplate;{protected_legend:hide}',
',cal_ctemplate,use_horizontal,use_navigation,linkCurrent;{protected_legend:hide}',
$GLOBALS['TL_DCA']['tl_module']['palettes']['yearview']
);
}