Closed bdalomgir closed 1 year ago
Did you update all modules (eg. Entity plus) and clear caches? Can you provide more info on how it breaks? I am using that module without a problem in a few places I think.
@laryn Thanks for your reply. Yes, we updated all modules and cleared caches.
Before upgrading the paragraph module it addressed all required accordion classes to the markup please see the screenshot below
But after upgrading it does not include any accordion related classes to the markup. Screenshot below for reference -
Do you have a customized template file in your theme for accordion paragraphs? If so that might need slight tweaking.
I have done some testing with Paragraphs 1.x-1.2.0-beta1 and Paragraphs jQuery UI Accordion 1.x-1.0.1 and I can't reproduce this issue. The elements have the right classes, and the accordion seems to be working. Backdrop 1.21.3 and PHP 7.3.29.
Like @laryn, I also suspect that this issue may be the result of a customized paragraphs-item or node template file.
Thanks @laryn and @argiepiano for your reply. I have debugged again and found that normal accordion in paragraph working just fine. But we had a different case. We created an accordion using a title and description (which is another paragraph referenced). In this case its not working. Please check the screenshot below what we did -
When you say "not working" what exactly do you mean? Please provide more information about the issue.
@argiepiano Not workings means Its not getting any accordion class i.e. jquery-ui-accordion. So total accordion functionality broke.
Does it work if instead of a Paragraph field for description you use a text field?
Also, which field has the accordion? Description? Or the field that points to the "Mosaic accordion" paragraph type? Also, what type of paragraphs is Description pointing to?
In other words, the more information you can provide, the better. It's hard to help without knowing all the details
@bdalomgir Is this still an issue in the latest version, or should we close it?
@laryn Thanks so much for your reply. I have experimented with the new version of the Paragraph module on different machines/Environments and found the same problem. You can reproduce the problem by following the steps.
Steps are:
/admin/structure/types/manage/page/fields
), and create two-paragraph reference fields.
/admin/structure/types/manage/accordion/display/default
) and make these two field Format as Paragraphs jQuery UI Accordion and configured these fields.@laryn I have been debugging this issue for a while now and figured out that the problem I mentioned in my last comment is not related to this issue rather it's a Paragraphs jQuery UI Accordion issue. I found they use an attribute ID for each paragraph accordion and the id is the entity ID (nid) where the accordion is placed. I checked changing the ID to different text and both the accordion were working. We can close this issue. I might create another issue under paragraphs jquery UI accordion. Thanks
New issue: https://github.com/backdrop-contrib/paragraphs_jquery_ui_accordion/issues/7
After updating the paragraphs 1.x-1.1.0 to 1.x-1.2.0-beta1 version it affects the paragraphs jQuery UI Accordion module. As a result, it breaks all the accordion designs.