Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This allows for multiple accordion views of the same view to be displayed on the same page.
A one line fix (views_accordion_style_plugin.inc):
line 267: <?php
$accordion_id = drupal_html_id('views-accordion-' . $this->view->name .'-' . $this->view->current_display);
?>
Patch coming shortly.
Comment | File | Size | Author |
---|---|---|---|
#2 | views_acordion-use-drupal-html-id-2232911-2.patch | 939 bytes | arosboro |
Comments
Comment #1
arosboro CreditAttribution: arosboro commentedComment #2
arosboro CreditAttribution: arosboro commentedHere it is...
Comment #3
arosboro CreditAttribution: arosboro commentedThis may be closed (Won't fix).
I have resorted to removing the accordion JavaScript from pages which use ajax and can potentially have multiple views rendering. I noticed upon further testing that the patch may have broken views accordion.