Thank you for this great module.
I want to use the paragraph type "Columns (Equal)" in one of my content types.
Additionally I want to add a second "Columns (Equal) 2" paragraph type with only 1 difference:
Let users only add the following fields: Simple and Image.
But this does not work. When I create the paragraph type "Columns (Equal) 2" in the same way as "Columns (Equal)" exists, the result is:
Creating a new node in the node form there is no select list for Simple & Image, but there are 6 autocomplete field (for default values).
I think this is a bug or is there any way to create a second "Columns (Equal) 2" paragraph type and enable only Image and Simple for this second paragraph type which are placed in culomns. And at the same time the original "Columns (Equal)" paragraph type can be uses in another content type (with select list and all paragraphs (simple, picture, blank, views, accordion, culumns, ... all)?
I tried it with alpha3 and dev version of Bootstrap Paragraphs.
Can you help? Thank you.
Comments
Comment #2
thejimbirch CreditAttribution: thejimbirch commentedHi,
Where the bundle types are selected is the
bp_column_content
field on Columns (Equal) bundle.You will need to create a new Entity reference revisions field on your new bundle, which will limit to the Image and Simple bundles being referenced.
Try taking these steps:
bp_background
.bp_width
.field--paragraph--bp-column-content.html.twig
template from the bootstrap_paragraphs module to your theme and rename it to your new field name. It should be something likefield--paragraph--field-new-name.html.twig
Comment #3
thejimbirch CreditAttribution: thejimbirch commentedComment #4
thejimbirch CreditAttribution: thejimbirch commentedFrom #bootstrap channel in Drupal Slack:
drupalfan [4:54 AM]
Thank you. In the meantime I realized this without Bootstrap Paragraphs but Paragraphs only. Works very fine! But maybe I will need your solution (I have to test it, if it works) later on.
Comment #5
thejimbirch CreditAttribution: thejimbirch commentedComment #6
drupalfan2 CreditAttribution: drupalfan2 commentedThank you. In the meantime I realized this without Bootstrap Paragraphs but Paragraphs only. Works very fine! But maybe I will need your solution (I have to test it, if it works) later on.