Problem/Motivation

I am very new to all of this and ask for some patience as I explain this.

I downloaded Barrio 5.x and several modules (display suites, bootstrap views, bootstrap library, bootstrap layouts). However I can not get the bootstrap layouts to work.

Steps to reproduce

I can select the option names, but the icons do not show and the selection has no impact. For example, I can select 2 columns (3 and 9), the icon doesn't show and the content simply displays as one column (all content is vertical). To be clear I am in content/manage display. The fields do not change to reflect a bootstrap layout. If I select display suites layout, the fields will change as will the content preview. However, I like the bootstrap options better.

Same thing happens, if I use layout builder.

Proposed resolution

Someone has suggested it could be a version issue and the modules I've downloaded may not work with bootstrap 4/5.

This makes sense as bootstrap views (which states very specifically that it works for bootstrap 4) does appear to work in views. I thought display suite was supposed to work with barrio 5.x, but maybe not??

Remaining tasks

Please can someone help me figure out what modules I need to be able to use bootstrap layouts in content?

Thanks
Wendy

User interface changes

API changes

Data model changes

Comments

AuntWinkie created an issue.

AuntWinkie’s picture

Here is the link to page instructions I have been following. I see what the link shows, but as stated, the icons don't display when selected, the fields do not change, and the preview is vertical (one column). I have not tried LAYOUT BUILDER as there are several options and I am not sure which one I need.

https://www.drupal.org/docs/8/themes/barrio-bootstrap-4-drupal-89-theme/...

AuntWinkie’s picture

Here are some specifics. I am using:

barrio 5.1.4,
Bootstrap library module 8.x-1.14 - released 15 August 2020 - Requires Drupal: ^8 || ^9,
Bootstrap Layouts 8.x-5.2 - released 5 June 2020- Requires Drupal: ^8 || ^9
display suite 8.x-1.14 - released 15 August 2020 - Requires Drupal: ^8 || ^9
Bootstrap Views 8.x-4.3 - released 21 May 2020 - Requires Drupal: ^8 || ^9

Per your replay it might be that bootstrap library and layout modules only work for bootstrap 3? That leaves me wondering which bootstrap library and layout should I use?

I apologize for my ignorance. Please let me know if you need more information!

Wendy

greenskunk’s picture

Hello @AuntWinkie,

Does the patch in comment #6 at https://www.drupal.org/project/bootstrap_layouts/issues/3018633 help with your issue?