Closed (fixed)
Project:
Click HeatMap
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Mar 2008 at 16:03 UTC
Updated:
16 Jun 2012 at 20:01 UTC
Jump to comment: Most recent file
All links in scrips doesn't support language prefix in url (example: http://localhost/en/modules/click_heatmap/clickheat/click.php?s=...)
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | click_heatmap.patch | 586 bytes | joe-b |
Comments
Comment #1
maximust commentedI fix it by replacing function 'click_heatmap_footer' with this one:
Comment #2
boombatower commentedI am at Drupalcon and do not have access to a developement computer. I will work on this once I return home this weekend.
Comment #3
boombatower commentedI made the necessary changes for the 5.x and 6.x branches.
Use the new release 2.3.
Comment #4
boombatower commentedComment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
Sylvain Lasnier commentedI have the same problem with D6.
return
instead of
Comment #7
Sylvain Lasnier commentedComment #8
boombatower commentedNot sure what is going on there. I enabled french and paths and such and went to http://d6x.loc/fr and if I comment out:
then I see:
and if I uncommented I get:
I have not changed anything related to this bit, but please try running dev. It would appear you do not have a language prefix set thus it is only removing '/'.
I will change:
to
Comment #9
Sylvain Lasnier commentedWonderfull Jimmy,
This problem is solved by the dev release.
Thanks
Sylvain
Comment #10
boombatower commentedOk, great.
Comment #12
stilblütler commentedThere is still a problem with the language prefix.
If under "Site configuration » Languages" the option "Path prefix with language fallback." is selected, the prefix (e.g. "/de") is added to the path.
The Option "Reports » Click heatmap" then is linked to "/de/admin/reports/click_heatmap". Clicking the link does not redirect to the Click heatmap report page -- instead a "Page not found" error is displayed.
I have encounterd this problem with the versions 6.x-2.6 and 6.x-2.x-dev (2009-Oct-21) of Click HeatMap.
Comment #13
joe-b commentedfunction click_heatmap_log_view() calls url() to set the src path for the iframe - need to set 'language' => FALSE in the $options array for url().
Comment #14
joe-b commentedHere's the patch file.
Comment #15
boombatower commentedThe patch does not apply. Also see http://drupal.org/patch/create as they should be relative to the module root, not the directory above (I compensated when attempting to apply).
Comment #16
john franklin commentedConfirmed and applied. Thanks for the patch.