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'm working on a set of helper functions for both the php and js sides of exposing an object to the ajax system. The idea is to create a registry of "updaters" that pass updates to ajax_load. then when ajax_load calls it's hook, the updates can be added as __callbacks OR __commands and sent back to the client. I'm thinking the session is the best place for storing the state of this system...thoughts?
Comments
Comment #1
markus_petrux CreditAttribution: markus_petrux commentedI'm afraid I do not quite understand this request. However, the way how Ajax Load works now has been changed. See #1193578: Emulate theme('page') processing to obtain list of css/js files
That means, any module can manipulate the objects sent by Ajax Load, the same way they can do it for normal page processing.
Therefore, I'm closing here, in order to keep the queue as clean as possible. Though, you may wish to re-open with additional information. Thanks.