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
Works now after clearing the browser cache. The design has also solidified. It was at an image field's page. (Clearing the site cache had no effect). Hereby fixed, thank you...
1.30.1 - inbuilt Token Browser rows not expanding
Ow, it was the browser cache. The site cache (or cron) didn't do it. A good old devil in the details. :-) Thanks for the input!
1.30.1 - inbuilt Token Browser rows not expanding
I'm not seeing that issue (I just spinned out a fresh installation with 1.30.2). What's really weird is that you still have the "less / more" which shouldn't be there. Clear caches? Also...
1.30.1 - inbuilt Token Browser rows not expanding
Please try clearing caches if you haven't already. Please can you say what page this is happening on as I can't reproduce with a site on 1.30.1
1.30.1 - inbuilt Token Browser rows not expanding
If I recall correctly, Backdrop will not gzip if the page content is already gzipped. And it only happens if you've enabled page compression setting. But maybe that doesn't help here...
Documentation update