These are chat archives for collectiveaccess/support

2nd
Dec 2018
Karl Becker
@karbecker
Dec 02 2018 10:33

@mbutel_twitter I had the same problem, solved it with this PHP Code:

    <?php
        $width = $t_object->get('ca_objects.measure.breite1', array('returnAsDecimalMetric' => true));
        if ($width) {
            echo 'Breite: '.($width * 100).' cm <br>';
        }
    ?>

You’d need to adapt .measure.breite1 to .dimensions.dimensions_height and try it from there…