Download & Extend

clickheat.js not being linked correctly

Project:Click HeatMap
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:boombatower
Status:closed (fixed)

Issue Summary

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";

Comments

#1

#2

Status:active» fixed

Once again thanks, I think that was overlooked when I fixed http://drupal.org/node/219641.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

#4

Assigned to:Anonymous» boombatower