presently, any calls to drupal_set_html_head() and friends from module block code are not honoured by chameleon or marvin.
this is because the calls to theme_blocks() come after the call to drupal_get_html_head().
the attached patch changes the order of these calls so that modules that need code in the head of the page to make there blocks work (eg, the chatroom module has blocks that are updated in real time via ajax, and so include a js file in the head if they are active).
cheers
justin
| Comment | File | Size | Author |
|---|---|---|---|
| chameleon_allow_blocks_to_set_head.patch.txt | 1.47 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedis anyone willing to look at this? its a simple patch.
Comment #2
dmitrig01 commentedlike the idea, but it's do for a re-roll
Comment #3
Anonymous (not verified) commentedi had a look at the current code to update the patch only to find its been incorporated already, so this issue can die now.
Comment #4
(not verified) commented