Closed (fixed)
Project:
Typekit
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2010 at 12:27 UTC
Updated:
7 Jan 2011 at 16:10 UTC
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 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 commented@repolainen, what exactly is the problem, by the way? What error messages do you get?
Comment #3
zzolo commentedI added an administrative option to choose the method of including the file.
http://drupal.org/project/cvs/593664