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.066 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started