This is the code I tried using:
Code:
<div class="listRadio">
<?php
echo zen_draw_pull_down_menu('view', array(array('id'=>'rows','text'=>PRODUCT_LISTING_LAYOUT_ROWS)), (isset($_GET['view']) ? $_GET['view'] : (defined('PRODUCT_LISTING_LAYOUT_STYLE')? PRODUCT_LISTING_LAYOUT_STYLE: 'rows')), 'onchange="this.form.submit()"');
?>
</div>
<div class="gridRadio">
<?php
echo zen_draw_pull_down_menu('view', array(array('id'=>'columns','text'=>PRODUCT_LISTING_LAYOUT_COLUMNS)), (isset($_GET['view']) ? $_GET['view'] : (defined('PRODUCT_LISTING_LAYOUT_STYLE')? PRODUCT_LISTING_LAYOUT_STYLE: 'columns')), 'onchange="this.form.submit()"');
?>
</div>
I was trying to compare what I had found:
zen_draw_pull_down_menu( $name, $values, [ $default = ''], [ $parameters = ''], [ $required = false])
zen_draw_radio_field( $name, [ $value = ''], [ $checked = false], [ $parameters = ''])
but after playing around i.e. experimenting with what PHP skills I do have, thought I was not quite getting what I was hoping.