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.
When used on certain forms with elements such as with CCK date field or active tags module, the behavior for those fields is not properly rendered when the form is displayed. This is because the necessary javascript isn't being loaded since the JS and $scripts for the page is rendered in template_preprocess_page before the blocks are built, or something similar to this. I'm closing a few other issues in favor of this one:
#515348: Date pop-up calendar does not work for fields in form block
#373267: Support 'Active Tags'
Comments
Comment #1
mikey_p CreditAttribution: mikey_p commentedI realized that the loading order isn't the issue, since blocks are rendered in template_preprocess_page before the scripts and styles (even formblock itself adds some styles). I'm wondering if these modules use rather specific jQuery selectors that may not match if the form is displayed in a block?
Comment #2
YK85 CreditAttribution: YK85 commentedsubscribing
Comment #3
mikey_p CreditAttribution: mikey_p commentedComment #4
mikey_p CreditAttribution: mikey_p commented