This upgrades the base module only, rest is untouched. Nevertheless, it may be used as a temporary solution if you just need a simple map.
Just needed a quick fix really, however going through all these 81 points took a couple of hours, so I though I'll share this anyway, at least you can use it as a reference what's to be updated.
Changes:
- new syntax in gmap_menu (see point 1)
- implemented gmap_theme hook for registering all theme_* things (18)
- updated cache_set and cache_get calls (28 & 29)
- changed url() arguments in one case (7)
- changed Drupal.extend to jQuery.extend (60)
- added core=6.x to the gmap.info file :)
Comments
Comment #1
convexk commentedHi,
first thanks for the great and useful work.
Does the patch work for you, i.e. are you able to enable the GMap basic module in 6.1 distribution.
I am still getting the base module as "version incompatible" by my 6.1 distribution.
Btw does anybody have more information on how drupal 6.1 checks for version compatibility of uploaded modules?
That would serve as a good start for finding incompatibilities. Taking this one step further, even output to the user
the code parts that have been found incompatible.
Comment #2
DenRaf commentedI did a bit further on the diff. There is still a problem with displaying the map itself. So any help is more then welcome.
Comment #3
pobster commentedIt's probably not displaying because you haven't created entries in hook_theme for all the theme calls? I only see one for 'gmap_marker_popup', there's plenty more than that! Also the one you have got in that hook seems to have a stray bracket in it? 'gmap_marker_popup('??!!!
Incidentally the gmap settings form wouldn't submit until I removed the
$form, &$form_statefrom the function declaration; they're not required here anyway as the form magic is supplied by drupal_get_form in hook_menu.Pobster
Comment #4
DenRaf commentedWith this new patch, you can see the map. The problem is now that it doesn't calculate it's position.
Comment #5
webchick...
Comment #6
romipoison commentedhow to apply patch?
Comment #7
chadd commentedalso wondering how to apply patch?
Comment #8
axyjo commentedSweet. I was googling for hours until a simple drupal site search gave me this. Can I add patches if I find any more bugs?
Thanks.
Comment #9
gellpak commentedsubsub
Comment #10
thechraveler commentedsubscribe
Comment #11
Anonymous (not verified) commentedSubscribing
Comment #12
webchickTo those who want to see this ported faster, there is information about the current state of things, as well as what you can do to help, at The State of Geospatial in Drupal. Hope to see some of your patches, documentation, and reviews. :)
Comment #13
encho commentedsubscribing
Comment #14
Anjaro commentedsubscribing...
Comment #15
jasontanner commentedsubscribing
Comment #16
zhte commentedsubscribing
Comment #17
zmove commentedHi,
Is there a way to get a full D6 package, because the module evolved between the patches and I'm afraid to apply patch by hands and see errors cause the patch apply on a old version. (yes, I patch by hands because patching on windows sux, in fact, patching in command line sux...) ^^
Comment #18
dave reidsubscribing
Comment #19
dan_aka_jack commentedsubscribing...
Comment #20
bdragon commentedDrupal 6 is equally supported and in sync with Drupal 5 development now.
Comment #21
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.