Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
I wanted to glob some fields together for the bubble pop-up field (such as Name, Address, Phone #) into a field to use for the bubble pop-up field. When I do, if I click on the marker, it takes me to the site home page.
Thanks,
Alex
Comment | File | Size | Author |
---|---|---|---|
#7 | gmap-custom_text_cannot_be_used_for_bubble-1590156-7.patch | 1.11 KB | svajlenka |
Comments
Comment #1
don@robertson.net.nz CreditAttribution: don@robertson.net.nz commentedGreetings,
I am using 7.x-1.x-dev. When I try to use custom text for a bubble pop-up feild, I do not get any bubble popping up when I click on the marker, but I do not get redirected anywhere either
Comment #2
Lanny Heidbreder CreditAttribution: Lanny Heidbreder commentedI can confirm the behavior in #1, but not the OP. I'm not redirected anywhere, I just don't get a bubble at all. I can rewrite a normal field to my heart's content and it works perfectly, but putting anything in this basically rewriting-only field fails.
Comment #3
eMuse_be CreditAttribution: eMuse_be commentedin gmap_plugin_style_gmap, you can see that the bubble text is derived from the entity fields, this needs to be rewritten
Comment #4
eMuse_be CreditAttribution: eMuse_be commentedIf you need a quickfix:
gmap_plugin_style_gmap.inc:
line 214:
change:
to:
This is a quickfix, I will try to change it later and debug some more to create a stable and abstract patch.
Comment #5
gusantor CreditAttribution: gusantor commentedthis fix my problem, now I can show any field at popup, but I can't to get any html well displayed, just raw html code, please can you give me any direction in the way to solve this
thanks in advance
carrection:
- when use a global php field returning some html, popup display raw html
- instead, when I use a global personalized text, popup display html as spected
thxs
Comment #6
podarokcan You provide a patch for #4 against latest dev ?
Comment #7
svajlenka CreditAttribution: svajlenka commentedProviding patch for #4 against latest dev.
Comment #8
N20 CreditAttribution: N20 commentedThat patch works fine for me. Thanks svajlenka!
I used all stable no dev releases (views, gmap etc.)
cheers, N20
Comment #9
podarok#7 thanks
http://drupalcode.org/project/gmap.git/commit/552e8ae
Comment #10
podarokbackporting to 7.x-1.x
Comment #11
podarokthanks to all
Comment #12
lahode CreditAttribution: lahode commentedI applied the patch with beta1 and it worked, but today I updated to beta3 and saw the patch was ported, but it doesn't work anymore...
Comment #13
podarok#12 can You fill summary with updated bug or post a new follow up against latest dev?