it would be great if it could also make AJAX blocks work

Created on 27 July 2024, 8 months ago

Hello,

It seems that can only be applied to views, it would be great if it could also make AJAX blocks work. Currently, no solution has been found for this. If a block uses a token or Twig, they both retrieve data based on the current page context, such as [current-page:title] or {{ drupal_title() }}. If the block is loaded through AJAX, such as when the io module enables AJAX loading of blocks, these tokens and Twig will become invalid, it cannot retrieve contextual data by referer URLs.

💬 Support request
Status

Active

Version

1.0

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @msn5158
  • 🇬🇧United Kingdom welly

    Hi @msn5158,

    If you can give me a little bit more information, I'd be happy to help but this module is specifically for views contextual filters. I suppose it's might not entirely be out of scope of the module but this was designed for handling views contextual filters. Can you show a slightly more detailed example and I'll see if it's something we can implement.

    Thanks!

Production build 0.71.5 2024