Closed (fixed)
Project:
cck_map
Version:
5.x-3.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2007 at 10:41 UTC
Updated:
17 Nov 2007 at 02:12 UTC
Because Drupal assumes local JS scripts, your way doesn't work:
drupal_add_js("/maps.google.com/maps?file=api&v=2&key=". variable_get('cck_map_key', ''), 'inline');
Just use:
drupal_set_html_head('
');
Comments
Comment #1
beeradb commentedfokke: just for reference, what version of drupal are you running? I am on the latest 5.3 installation and that works fine for me. Either way i'll see what I can do tonight about merging that in if it's effecting other versions.
Thanks,
Brad
Comment #2
beeradb commentedFokke: I added that patch and have released a new version. I highly recommend upgrading.
Thanks again for the feedback.
Brad