BP Profile Search › Multiselectbox and selectbox layout
-
AuthorPost
-
Pasi
GuestHi,
below is output of selectbox and multiselectbox. Is there anyway to change output the way it prints instead of 1 column to for example 3 columns.
?php
break;
case ‘selectbox’:
?>
<select id=”<?php echo $id; ?>” name=”<?php echo $name; ?>”>
<?php foreach ($f->options as $key => $label) { ?>
<option <?php if ($key == $value) echo ‘selected=”selected”‘; ?> value=”<?php echo $key; ?>”><?php echo $label; ?> </option>
<?php } ?>
</select><br>
<?php
break;
case ‘multiselectbox’:
?>
<select style=”font-size:12px; height:140px;” id=”<?php echo $id; ?>” name=”<?php echo $name.'[]’; ?>” multiple=”multiple” size=”<?php echo $f->multiselect_size; ?>”>
<?php foreach ($f->options as $key => $label) { ?>
<option <?php if (in_array ($key, $value)) echo ‘selected=”selected”‘; ?> value=”<?php echo $key; ?>”><?php echo $label; ?></option>
<?php } ?>
</select><br>andrea
Plugin AuthorHi Pasi,
Unfortunately I’m not good at visual design (HTML, CSS) and I’m unable to answer your question. Hope other readers can give some advice.
-
AuthorPost