Hallo,
ich habe der tl_content ein neues Feld hinzugefügt:
PHP-Code:
// contao/dca/tl_calendar_events.php
use Contao\CoreBundle\DataContainer\PaletteManipulator;
$GLOBALS['TL_DCA']['tl_content']['fields']['attributeFor'] = [
'label' => ['Attribute for', 'Attribute for'],
'inputType' => 'text',
'eval' => ['tl_class' => 'w50', 'maxlength' => 255],
'sql' => ['type' => 'string', 'length' => 255, 'default' => ''],
];
PaletteManipulator::create()
->addField('attributeFor', 'expert_legend', PaletteManipulator::POSITION_APPEND)
->applyToPalette('default', 'tl_content')
;
Allerdings wird es nicht angezeigt, ProdCache ist erneuert worden.
DB Feld über Install ist auch angelegt worden.
Ich finde gerade den Fehler daran nicht - hat jemand einen Tipp?
Danke
Mark
Lesezeichen