- πΊπΈUnited States capellic Austin, Texas
I've tested this patch and it works well. Thanks!
- Status changed to Fixed
almost 2 years ago 9:55pm 18 February 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Since blocks can also be
rendered from a twig template β
, we should be able to load the block using ajax by passing the settings to the drupal_block
function.
Actually if I call a block passing the settings brought by the module, it doesn't load using ajax :
{{ drupal_block('my_block_id', { 'block_ajax': { 'is_ajax': 1, 'max_age': '0', 'show_spinner': 0, 'placeholder': '', 'ajax_defaults': { 'method': 'POST', 'timeout': '10000', 'others': { 'async': 'async', 'cache': 0 } } } }) }}
Fixed
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I've tested this patch and it works well. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.