Hallo,
ich habe ein field mit inputType inputUnit. Die Optionen sind gesetzt aber die Ausgabe im Frontend bringt nur 'Array'
PHP-Code:'xPosition' => array(
'label' => array('X-Position','Angaben in px [Ausgangspunkt left|top]'),
'inputType' => 'inputUnit',
'default' => '0',
'options' => array('px','%','em','rem','vw','vh'),
'eval' => array('tl_class' => 'w50 clr', 'mandatory' => true),
),
PHP-Code:... style="position:absolute; top:<?php echo $this->yPosition ?>; left:<?php echo $this->xPosition ?>; ...Muss ich die beiden Felder, also den Wert und die Einheit irgendwie anders ansprechen?Code:... style="position:absolute; top:Array; left:Array; ...
Bitte um Hilfestellung
vielen Dank

Zitieren
