I managed to get https://www.drupal.org/project/paragraphs_jquery_ui_accordion working in Backdrop last week but I really want Bootstrap Accordions. I've found the Field Collection template file in the Drupal code. How do you do this with Paragraphs?
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<?php foreach($rows as $key => $row) { ?>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading-<?php print $key . '-' . $row['entity_id']; ?>">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse-<?php print $key . '-' . $row['entity_id']; ?>" aria-expanded="true" aria-controls="collapse-<?php print $key . '-' . $row['entity_id']; ?>">
<?php print $row['field_fc_title']; ?>
</a>
</h4>
</div>
<div id="collapse-<?php print $key . '-' . $row['entity_id']; ?>" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading-<?php print $key . '-' . $row['entity_id']; ?>">
<div class="panel-body">
<?php print $row['field_fc_panel_body']['value']; ?>
</div>
</div>
</div>
<?php } ?>
</div>
Recent comments
PayPal Checkout works too!
Commerce shop system from Drupal
nice find! the links for the most recently updated issues in the core and contrib queues are a great way to stay on top of things—especially now that the feature freeze is just around the corner...
Seeing what issues are new
A simple way — use Field Group to create a container for fields https://backdropcms.org/project/field_group and CSS Flex оr Grid to alignment. You can also create Fieldsets to...
Layout also for /node/add/ forms?
Yes. The are several ways to do this: Install Mail System and select "Testing" for delivery in admin/config/system/mailsystem Install Maillog / Mail developer...
Prevent Backdrop from sending emails
The short answer is no, you can't theme forms or change their layouts through the UI. There is a ported version of Display Suite, which has a submodule called Display Suite Forms that allows you...
Layout also for /node/add/ forms?