clickheat.js not being linked correctly
Deciphered - February 11, 2008 - 00:19
| Project: | Click HeatMap |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | boombatower |
| Status: | closed |
Jump to:
Description
Javascript doesn't include base path, therefore only works on the front page.
click_heatmap.module line 97:
return '<script type="text/javascript" src="'. drupal_get_path('module', 'click_heatmap') .'/clickheat/js/clickheat.js"></script>'."\n";Should be:
return '<script type="text/javascript" src="'. base_path() . drupal_get_path('module', 'click_heatmap') .'/clickheat/js/clickheat.js"></script>'."\n";
#1
Fixed in patch: http://drupal.org/node/220115#comment-724762
#2
Once again thanks, I think that was overlooked when I fixed http://drupal.org/node/219641.
#3
Automatically closed -- issue fixed for two weeks with no activity.
#4