Ich habe die Funktion "getConditionFields($dc)" in der "tl_iso_attributes.php" mal zum Test ein bischen modifiziert:
PHP-Code:
public function getConditionFields($dc)
{
$this->loadDataContainer('tl_iso_products');
$arrFields = array();
foreach( $GLOBALS['TL_DCA']['tl_iso_products']['fields'] as $field => $arrData )
{
if ($arrData['inputType'] == 'select' OR $arrData['inputType'] == 'conditionalselect')
{
$arrFields[$field] = strlen($arrData['label'][0]) ? $arrData['label'][0] : $field;
}
}
return $arrFields;
}
Das hinzufügen von "OR $arrData['inputType'] == 'conditionalselect'" scheint einwandfrei zu funktionieren.
Aber leider ist das ja keine besonders saubere Lösung. Hat jemand einen Tip für mich, wie ich das besser machen könnte?
Ich hätte es gerne so das es auch nach einem Isotope-Update erhalten bleibt...
Viele Grüße
Fabian
Lesezeichen