Closed (fixed)
Project:
GMap Module
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2011 at 10:19 UTC
Updated:
4 Jul 2013 at 09:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
giorgosksolution using collapsehack
apply patch
enable collapsehack in admin/settings/gmap
and clear cache and refresh page
Comment #2
kndrThanks. This trick is working for me. I couldn't apply #1 to the latest gmap-6.x-1.x-dev, so I upload recreated patch.
Comment #3
giorgoskyou had to apply patch from the root directory
that is the reason the patch did not apply
otherwise both patches are identical
Comment #4
tobiasbthe changes works also for me.
Comment #5
bryancasler commentedWill this work for D7?
Comment #6
giorgoskits a very simple patch (if you open the patch with notepad you will see a single line addition)
you can learn how to read a patch file (http://drupal.org/node/367392)
and try the changes on the 7 version
hopefully it works
Comment #7
sylvaincharles commentedFor all who wonder how to get the collapsehack work in vertical tabs in Drupal 7:
just replace $('.vertical-tab-button').children............. from the D6 patch above
with : jQuery('.vertical-tab-button').children.....
Bonne chance
Comment #8
giorgoskNew patch for the latest 6.x dev version
please review and report back
identical to previous patches above but line numbers have changed
Comment #9
adr_p commentedThe method worked for me.
Comment #10
giorgosk#2 #4 #8 #9 report this to be working for them
please patch this
Comment #11
seemas commentedPatch works for me too. Just for DRUPAL 7 read #7
Comment #12
nclavaud commentedMy patch for D7.
jQuery('.vertical-tab-button', jQuery(elem).parents('.vertical-tabs')).children('a').click(r);
Comment #13
podarok#12
needs reroll against latest dev
Comment #14
podarokrerolled against latest dev
commited / pushed to all 7.x branches
thanks!!!
Comment #16
Slacker commentedI have a clean install of latest version Drupal (7.22) with ctools (7.x-1.3), location (7.x-3.0-rc1), gmap (7.x-2.6) and still doesn't show correctly in vertical tab. Can anybody help me?
Comment #17
Slacker commentedComment #18
mstrelan commentedHey Slacker, I have the same problem. It seems that the attached patch works for me, although it seems to be centering to the wrong co-ordinates. That may be some other configuration issue though.
Comment #19
mstrelan commentedCentering issue should be resolved in this patch. Seemed to be caused by the call to map.setCenter() when the map isn't visible. Not sure if there's a better solution though. Tested this with a gmap both inside and outside of vertical tabs.
Comment #20
mstrelan commentedPatch in #19 doesn't center correctly if a marker is already set, eg when editing a node that already has a location. This patch works in and out of vertical tabs, centers correctly on default location and centers correctly on already populated locations.
Comment #21
podarok#20: gmap-1064448-20-vertical_tab_fix.patch queued for re-testing.
Comment #22
podarok#20 commited pushed to 7.x-2.x
Thanks!