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 guys,
I'm using your module alongside Highslide -module. For some reason, the way the external js is added, messes up highslide functionality.
There has been some progress in letting drupal add external JS. drupal_add_js has been updated for D7 but in D6 you need to use the function
drupal_set_html_head($data = NULL);
More info in http://drupal.org/node/224333#drupal_add_js_external
I modified your code to use this code and Highslide started working again!
Comments
Comment #1
zzolo CreditAttribution: zzolo commentedThis is how it was done before, and then we switched to a different method that seems a little more Drupal friendly (and Google Analytics) was doing it as well.
I would like to do research into why this is happening before making changes to the module.
Comment #2
zzolo CreditAttribution: zzolo commented@repolainen, what exactly is the problem, by the way? What error messages do you get?
Comment #3
zzolo CreditAttribution: zzolo commentedI added an administrative option to choose the method of including the file.
http://drupal.org/project/cvs/593664