Ich würde gerne die Attribute Optionen um 2 Felder erweitern.
Dazu habe ich einen contao Ordner mit Unterordnern dca und language erstellt im Rootverzeichnis (also oberhalb des web Ordners).
Dort habe ich je eine tl_iso_attribute.php erstellt. im dca folgenden Code:

<?php

// contao/dca/tl_iso_attribute.php

use Contao\CoreBundle\DataContainer\PaletteManipulator ;

$GLOBALS['TL_DCA']['tl_iso_attribute']['fields']['attribute_picture'] = [
'label' => ['Bild', 'Bitte hier das Bild der Attributoption wählen.'],
'inputType' => 'fileTree',
'eval' => array(
'fieldType' => 'radio',
'filesOnly' => true,
'extensions' => 'jpg,jpeg,png,gif,svg',
'tl_class' => 'clr long',
),
'sql' => ['type' => 'string', 'length' => 255, 'default' => ''],
];

PaletteManipulator::create()
->addField('attribute_picture', 'published', PaletteManipulator::POSITION_AFTER)
->applyToPalette('default', 'tl_iso_attribute')
;

in der lang dann:

<?php
$GLOBALS['TL_DCA']['tl_iso_attribute']['fields']['attribute_picture'] = ['Bild des Attributs', 'Wähle hier das Bild des Attributs'];

Komischerweise erstellt er mir eine Spalte in der DB, aber ich erhalte kein Feld im Backend.

Es geht um die Backendmaske unter Shop-Konfiguration => Attribute => Optionen bearbeiten => Optionen

Ich denke, ich spreche die falsche dca an. oder? welche ist denn die richtige?

Die Fields sind ja eigentlich in der ['optionsTable'] abgelegt.

Hat jemand einen Tipp? Selbst, wenn ich fields gegen optionsTable austausche, funktioniert es nicht.

Ich stehe etwas auf dem Schlauch. Gerne Hilfe auch als Kleinstauftrag gegen Bezahlung.

Gruss Kai