I tried hard to figure out, where my problem is but failed. In the detailed view of an event, I am showing the map #_MAP. The map seems to work (I get the Google logo, the scale buttons etc.) however, the map just stays blue.
When I enter an event location, however, the map shows the correct place.
What is wrong? Any idea?
Google Maps just showing the ocean(11 posts) (3 voices)
Probably your location can't be resolved in a unique way, try to be more specific (use street, town, state, country, etc ...)
Honestly, it works now but I have no clue why (which is scary).
But thanks for the help....
I have the same problem with my installation of EME.
The Map shows nothing, whatever location or event page i'm at. I'm using the example events atm, which always worked.
EME also succefully finds out the latitude and longitude because #_LATITUDE and #LONGITUDE return the right values.
I'm using EME version 3.3.4
Deactivating and reactivating of the plugin doesn't solve the problem.
Tell me, if you need more information.
I've just done some debugging with this problem and it turns out, that this only happens if there are quotation marks in the "location_baloon_format" field.
For some reason the quotation marks are escaped in a wrong way so that every '"' becomes '0=', '1=' and so on.
But by debugging I also found out, that these characters are escaped in the right way until including the function "eme_events_page_content", but after that i couldn't find out any further, because i'm not familiar with the way wordpress handles filters of plugins, but i doubt, that something in wordpress' own routines goes wrong.
Some more information using an example:
Initial value of field
<strong>#_NAME</strong>#_ADDRESS - #_TOWN<a href='#_LOCATIONPAGEURL'>Details</a>
map_text_1300871420_7727 = '<strong>Arts Millenium Building</strong>Newcastle Road - Galway<br/><a href=\'http://DOMAIN/blog/?page_id=9&location_id=1\'>Details</a>';
map_text_1300871600_7567 = '<strong>Arts Millenium Building</strong>Newcastle Road - Galway<br/><a href=\'http://DOMAIN/blog/?page_id=9&location_id=1\'>Details</a>';
After hole processing (at actual page) - wrongly escaped:
map_text_1300871698_0474 = '<strong>Arts Millenium Building</strong>Newcastle Road - Galway<br/><a 0="href='http://localhost/bd-mockup/blog/?page_id=9&location_id=1'">Details</a>';
Maybe somebody finds out why it goes wrong after the plugin has done its job and why it didn't happen when the field "location_baloon_format" didn't exist.
Good to know! Telling me that it has something to do with single quotes gave me the needed hint already :-) I'll debug asap
i just edited it to show the code parts right. I'm happy it helps you.
I also found out that double quotes don't change anything.
ok, this does not happen on my setup. Quotes are correctly escaped and shown. See here as an example:
hmm, i've now figured out that it definitely happens in the
apply_filtersfunction, but your function
eme_filter_events_pagereturns the right things. so it should have nothing to do with your plugin
finally found the reason
Your plugin's filter is the first processed filter, because it adds all the content, isn't it?
I'm just gonna fill a bug report for the other plugin.
Thanks for your help
You must log in to post.