Hi,
ja gibt es.
PHP-Code:
/**
* @param $dc
* @return array
*/
public function setmaxperson($dc)
{
$columnFields = null;
$columnFields = array
(
'mini' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_calendar_events']['mini'],
'default' => '0',
'exclude' => true,
'inputType' => 'text',
'eval' => array('style' => 'width:60px')
),
'maxi' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_calendar_events']['maxi'],
'exclude' => true,
'inputType' => 'text',
'eval' => array('style' => 'width:60px')
),
'curr' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_calendar_events']['curr'],
'exclude' => true,
'inputType' => 'text',
'eval' => array('style' => 'width:60px', 'disabled' => 'true')
),
'free' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_calendar_events']['free'],
'exclude' => true,
'inputType' => 'text',
'eval' => array('style' => 'width:60px', 'disabled' => 'true')
)
);
return $columnFields;
}
Du muss die Datei vendor/kmielke/calendar-extended-bundle/src/Resources/contao/dca/tl_calendar_events.php anpassen, ca. Zeile 1182. Nimm dort bei eval() das disabled = true raus. Ist zwar erstmal nicht updatesicher, aber Updates gibt es eh nicht so oft.
Lesezeichen