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.
Hi there,
I seem to be really stuck with this one, the question is simple:
How do I pass arguments to the Ajax call, like the one in the example module...
I have a block which needs to know the nid of the current parent node page. I would like accomplish something like function authcache_example_display_block_0($nid) { ... }
, is this possible... and how?
Any help would be greatly appreciated, thanks in advance.
Comments
Comment #1
eelke CreditAttribution: eelke commentedAnyone?
Comment #2
eelke CreditAttribution: eelke commentedI haven't figured this out yet, could someone who uses ajax modules like the example packed with the module let me know if this is even possible. Any help would be greatly appreciated!
Comment #3
eelke CreditAttribution: eelke commentedI could really use a pointer on this one...
Comment #4
simg CreditAttribution: simg commentedsorry you didn't get any help with this question. closing due to it's age, but you're welcome to re-open