Für diejenigen, die sich fragen, warum ich das nicht so gemacht habe:
PHP-Code:
$GLOBALS['TL_SUBCL']['yaml3']['sets'] = array(
'25x25x25x25' => array(array('c25l','subcl'),array('c25l','subc'),array('c25l','subc'),array('c25r','subcr')),
'33x33x33' => array(array('c33l','subcl'),array('c33l','subc'),array('c33r','subcr')),
'50x50' => array(array('c50l','subcl'),array('c50r','subcr'))
);
$GLOBALS['TL_SUBCL']['yaml4']['sets'] = array(
'25x25x25x25' => array(array('ym-g25 ym-gl','ym-gbox'),array('ym-g25 ym-gl','ym-gbox'),array('ym-g25 ym-gl','ym-gbox'),array('ym-g25 ym-gr','ym-gbox')),
'33x33x33' => array(array('ym-g33 ym-gl','ym-gbox'),array('ym-g33 ym-gl','ym-gbox'),array('ym-g33 ym-gr','ym-gbox')),
'50x50' => array(array('ym-g50 ym-gl','ym-gbox-left'),array('ym-g50 ym-gr','ym-gbox-right'))
);
Mit der anderen Version bleiben wir updatesicher. Wenn Felix irgendwas in dem Array ändert, betrifft das unsere Anpassung nicht.
Lesezeichen