Description of the need The ability for a site builder to check a box and make a block into an accordion to save space on the page.
This came up with the new welcome block being proposed for the dashboard #3994. I think it would be great if the welcome block could be closed and why not provide this option for other blocks. I think it would be especially useful on the dashboard.
Alternatives that have been considered Is there a contributed module that accomplishes this?
I don't remember if I've used it. But there is at least one Drupal 7 contrib module that does this: https://www.drupal.org/project/accordion_blocks
...if not, then create a request for it to be ported: https://github.com/backdrop-ops/contrib/issues/349
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE