When having Bootstrap theme (or it's subtheme) as your default one, try setting the Administration theme to "Default" (i.e. the same bootstrap one)..

>> At /admin/appearance you won't have the "Administration theme" form at the bottom of the page anymore!

So the only way to switch back from the UI is to set another theme as the default one, then changing the Administration theme setting, and resetting your bootstrap based theme as Default.

Try also to make a VBO view and you won't have the operations form at the top of the View, it doesn't matter the permissions or the path you set..

Yes you can see the checkboxes in the Views content rows, but you don't get the select list and the button to execute the operations before the View.

I am quite sure there are other forms which magically disappear when using Bootstrap theme. Will update this list..

UPDATE: probably is fieldsets not rendering, as in all cases above the hidden forms where fieldsets.

This was clear when I also found out the problem adding a node with a multivalued image upload field.
When using the admin theme it would always show.
When using a bootstrap theme it would only show when the image field is set on single value. When using unlimited values, the field is shown in a fieldset, and disappears from the form if the theme is a bootstrap one.
 okbootstrap theme error

#2 boostrap.png115.35 KBkopeboy
#2 adminimal.png96.26 KBkopeboy
Members fund testing for the Drupal project. Drupal Association Learn more


kopeboy created an issue. See original summary.

kopeboy’s picture

Issue summary: View changes
96.26 KB
115.35 KB
kopeboy’s picture

Title: Some forms not rendered in bootstrap theme » Fieldsets in forms not rendered in bootstrap theme
Issue tags: +bootstrap, +fieldset, +form
kopeboy’s picture

This is all the HTML in the form about the image field (placeholders but not actual field inside)
<div class="field-type-image field-name-field-photos field-widget-image-miw form-wrapper form-group" id="edit-field-photos"><div id="edit-field-photos-und-ajax-wrapper"></div></div>

markcarver’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Closed (cannot reproduce)
Issue tags: -bootstrap, -fieldset, -form

I honestly cannot reproduce this with a fresh install of core/bootstrap, whatsoever. You obviously have some custom configuration/theming going on there.

shiks’s picture


I got the same issue. When i try to comment out the following code from the bootstrap theme in alter.inc file ( bootstrap/includes/alter.inc):

if (!empty($info[$type]['#theme']) && $info[$type]['#theme'] === 'fieldset') {
$element['#bootstrap_replace']['#theme'] = 'bootstrap_panel';
if (!empty($info[$type]['#theme_wrappers']) && array_search('fieldset', $info[$type]['#theme_wrappers']) !== FALSE) {
$element['#bootstrap_replace']['#theme_wrappers']['fieldset'] = 'bootstrap_panel';

that is in "bootstrap_element_info_alter" function. Then things started working for me.