Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

?Set radio buttons to wrap? 13 Sep 2015 02:57 #13454

Currently the radio buttons ( using protostar template on latest joomla ) are in one big line.. I have checked the view and tried putting in additional <div> with width constraints but still the buttons want to be in one line. Can someone show me what I'm missing. Sorry if this seems a simple request. The section for the radio buttons on the view is below...
<?php
	// Day
	$field = $fieldSet['jform_day'];
	$field->jdomOptions = array(
		'list' => $this->lists['select']['day']->list
			);
	?>
	
	<div class="control-group <?php echo 'field-' . $field->id . $field->responsive; ?>">
		<div class="control-label">
			<?php echo $field->label; ?>
		</div>
	
	    <div class="controls">
			<?php echo $field->input; ?>
		</div>
	</div>

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.053 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started