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
I think given the warning on the source site: At this time, if your new project can afford to require PHP 5.5+, which it should, please use PHP's native password_hash() /...
July 31, 2025
I did a very quick test and if the Display format of the webform submission value is HTML then it appears but if plain text then it doesn't, so something is included regardless of if empty when...
"Hide rewriting if empty" has no effect
Just to clarify it appears that the item: Fix Search for "On the Web" module, is about the search on backdropcms.org at https://backdropcms.org/modules
July 31, 2025
Fix Search for "On the Web" module https://github.com/backdrop-ops/backdropcms.org/issues/1093 Fix projects showing wrong recommended release and showing deleted releases https://...
July 31, 2025
Also it has no maintainer. Anybody interested to maintain?
Flood Unblock analogue