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.
I could not see any other issues requesting this, I would like to be able to apply this style to selected blocks, or set as default for some of my blocks to be open to start with, or remain open.
Comments
Comment #1
tallsimon CreditAttribution: tallsimon commented+1 for this
perhaps a UI module for this module, with admin options to one-click edit blocks... that would be really sweet!
Comment #2
pixelsweatshop CreditAttribution: pixelsweatshop commented+1 :)
Comment #3
cglusky CreditAttribution: cglusky commentedi would hook into block config and do it per block. add two checkbox options to each block for: enable accordion and initially collapsed.
perhaps in addition to a global settings to set accordion defaults.
Comment #4
Crom CreditAttribution: Crom commented+1 for this. I need to exclude certain blocks (eg the top or bottom block in a region) from the accordion but I can't work out how to hook into this. Any ideas?
@cglusky - if you can give me some more detail I'd be happy to work on a patch.
Cheers,
Crom