i use bootstrap subtheme
i set radio type field label inline but not working .
if a field inside a fieldgroup then not working.

Comments

dzy created an issue. See original summary.

dzy’s picture

Issue summary: View changes
rob holmes’s picture

Can you confirm that your theme is a subtheme of the 'strapped theme'.... https://www.drupal.org/project/strapped

Theme hierarchy should be bootstrap > strapped > yoursubtheme

dzy’s picture

i had these warning:

Notice: Undefined index: in field_group_pre_render_multipage() (line 977 of /Users/dzy/Sites/devdesktop/test2016/sites/all/modules/field_group/field_group.module).
Notice: Undefined index: #element_columns in strapped_process_radios() (line 95 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/radios.inc).
Warning: array_map(): Argument #2 should be an array in strapped_process_radios() (line 95 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/radios.inc).
Warning: array_filter() expects parameter 1 to be array, null given in strapped_process_radios() (line 95 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/radios.inc).
Notice: Undefined variable: element_grid in strapped_form_element() (line 275 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/form.inc).
Notice: Trying to get property of non-object in theme_multipage_pane() (line 1586 of /Users/dzy/Sites/devdesktop/test2016/sites/all/modules/field_group/field_group.module). 
Notice: Undefined index: #element_columns in strapped_process_radios() (line 95 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/radios.inc).
Warning: array_map(): Argument #2 should be an array in strapped_process_radios() (line 95 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/radios.inc).
Warning: array_filter() expects parameter 1 to be array, null given in strapped_process_radios() (line 95 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/radios.inc).
Notice: Undefined variable: form in bootstrap_elements_field_group_format_settings() (line 138 of /Users/dzy/Sites/devdesktop/test2016/sites/all/modules/bootstrap_elements/includes/bootstrap_elements.field_group.inc). 

i take some field out field group. text type field can inline , but radio type field not working.
so i create strapped subtheme , but i got no-sytle site now and i got this :

Notice: Undefined index: #element_columns in strapped_process_radios() (line 95 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/radios.inc).
Warning: array_map(): Argument #2 should be an array in strapped_process_radios() (line 95 of /Users/dzy/Sites/devdesktop/test2016/sites/all/themes/strapped/theme/radios.inc).

i installed strapped subtheme by dursh . i will check my install.
but i think maybe the radio field problem is the module's html output not match bootstrap's inline output.
the input element should inside label.

<label class="radio-inline">
  <input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> 1
</label>
<label class="radio-inline">
  <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 2
</label>
rob holmes’s picture

Thanks for the report, ill hopefully push a fix for the undefined index errors over the weekend