I have a panel page which contains 2 views. I only want 1 view to display as an accordion. My problems are -

  1. If I set the style setting of the view to accordion - nothing happens.
  2. If I set the style setting of the panel to accordion - both views become accordions.

I think panel settings are overriding view settings. Any idea how to fix this?

  • any idea guys ? Has anyone found a solution to it ? :( – Ben Jan 6 '16 at 21:14

You can do it by using these modules :

Panels Accordion

Panels Accordion provides an accordion display within Panels. By using accordions you can fit more content into smaller areas and allow your users to expand each section as needed. This uses the existing jQuery file for the accordion effect. The layout settings allow you to choose the action, effect, and speed for accordions.

views Accordion

Views Accordion provides a display style plugin for the Views module. It will take the results and display them as a JQuery accordion, using the first field as the header for the accordion rows.

  • I started off with these modules and came across the above mentioned issue. If I make panel an accordion, all views inside it are becoming accordions. – Ben Jan 6 '16 at 1:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.