Inhaltselement Text Bildausrichtung erweitern
Hallo zusammen,
ich möchte die Bildausrichtung im Inhaltselement "Text" per DCA um eine option erweitern, soweit sogut.
PHP-Code:
$GLOBALS['TL_DCA']['tl_content']['fields']['floating'] = [
'label' => &$GLOBALS['TL_LANG']['tl_content']['floating'],
'default' => 'above',
'exclude' => true,
'inputType' => 'radioTable',
'options' => array('above', 'left', 'right', 'below', 'other'),
'eval' => array('cols'=>5, 'tl_class'=>'w50'),
'reference' => &$GLOBALS['TL_LANG']['MSC'],
'sql' => "varchar(32) COLLATE ascii_bin NOT NULL default 'above'"
];
Wie bekomme ich das mit dem Icon umgesetzt?
Ordner "languages" angelegt, jedoch habe keine Ahnung wie hier die korrekt schreibweise ist.
Hier die Überschrift
PHP-Code:
$GLOBALS['TL_LANG']['tl_content']['floating'][0] = 'Bildausrichtung';
Kann hier jemand helfen?