Home › Forums › Calendar Products › Events Calendar PRO › Google Map not showing in the Event details
- This topic has 6 replies, 4 voices, and was last updated 11 years, 6 months ago by
Brian.
-
AuthorPosts
-
October 8, 2014 at 11:44 am #796903
bodin
ParticipantHi,
today I discovered that the Google Maps that can be added for an Event in the Event details do not show at all. There is just a grey box where the actual maps should show up.
If I click the Venue URL, the maps appears.
Would appreciate some assistance. 🙂Thank you in advance!
~Andreas~October 8, 2014 at 11:59 am #796932Brian
MemberHi,
Sorry for the troubles with the Google Maps. We have an issue with sites that have had the Events Calendar installed for a long time using an old option which causes the map to have zero height.
Please use this filter to resolve the issue until we can launch another release.
add_filter( 'tribe_get_option', 'adjust_tribe_embedded_map_height', 10, 2 );function adjust_tribe_embedded_map_height( $value, $property ) {
if ( 'embedGoogleMapsHeight' !== $property ) return $value;
return '350px';
}Let me know if that does not work for you.
Thanks
October 8, 2014 at 12:18 pm #796965bodin
ParticipantHi Brian,
thank you very much.
Where shall I add the code snippets that you posted?Sincerely,
~Andreas~October 8, 2014 at 12:31 pm #796984Brian
MemberYour theme’s functions.php or in a custom plugin.
October 8, 2014 at 1:13 pm #797084mattcuba
ParticipantHi Brian,
When I add the code above to the functions.php file, I get a hearder error, when I add the code to my Custom CSS plugin, nothing changes.
October 13, 2014 at 12:33 pm #808140lidocollective
ParticipantHi there,
Im having the same problem and the code didnt seem to work when I added to my themes function.php.
Please assist, cheers, Sam
October 13, 2014 at 1:14 pm #808203Brian
Membermattcuba,
Sorry for missing your post, but I can help out and then if you would like some more help please create a new ticket.
I get a hearder error, when I add the code to my Custom CSS plugin, nothing changes.
The header error sounds like the coding is not correct in the functions.php and then it is printing itself into the header causing the error, please make sure all quotes are closed and you may want to try replacing each one after you copy the code.
And the Custom CSS plugin will not use this coding it must go in your functions.php
lidocollective,
Can you please create a new ticket and we can help you there. It is mush easier for us to troubleshoot with just you that way and not miss anything. Also bodin get’s ping every time we post here 🙂
When you do please include a link to the site you are having trouble with and what steps you took to add the filter.
Also we do have a maintenance release we are hoping to release early this week to address this issue if you would like to wait for that.
Since bodin’s original question has been resolved I am going to close this ticket to not keep pinging him with messages.. bodin if it is not resolved please create a new ticket and we will help out more.
-
AuthorPosts
- The topic ‘Google Map not showing in the Event details’ is closed to new replies.
