Home › Forums › Calendar Products › Events Calendar PRO › Map View no longer working
- This topic has 10 replies, 2 voices, and was last updated 10 years, 5 months ago by
George.
-
AuthorPosts
-
October 9, 2015 at 8:41 am #1013172
Jamie Johannsen
ParticipantHave been using the PRO version for a while with a custom template (developed by me) and everything was fine. Sometime recently the map view is no longer working on events. If I switch to the default template it works, but back to custom and it’s broken. There haven’t been any changes to the custom template and I see no javascript errors on the page, so I’d like some assistance tracking down what’s going on.
October 9, 2015 at 2:00 pm #1013293George
ParticipantHey @jamie,
Do you mean the map view at http://winnebagoforest.org/events/map/? If so, this template seemed to be working fine for me…can you clarify what the problems are?
As for these problems themselves, we unfortunately offer no support for custom code and custom templates, so I cannot promise a solution here 🙁
With that disclaimer out of the way though, I’m really that things stopped working suddenly. I’d love to help as much as I can – to that end, the first thing I noticed is that you’re running very out-of-date versions of the plugins. So before anything else, you should update WordPress to version 4.3.1 and then update your Tribe plugins. Here are the version numbers you should be running, and where to get the files:
- The Events Calendar: 3.12.3 – http://wordpress.org/plugins/the-events-calendar
- Events Calendar Pro: 3.12.2 – http://theeventscalendar.com/my-account/downloads
Once all of these things are up-to-date, do problems persist?
If so, then copy and paste your custom template files in their entirety (do not edit anything out!) into Gists at http://gist.github.com and share links to these Gists.
I’ll take a look at your custom code and offer any insight that I can!
Thanks,
GeorgeOctober 13, 2015 at 7:50 am #1014118Jamie Johannsen
ParticipantThanks for the input George. The place where they aren’t working is when you click on a venue:
http://winnebagoforest.org/venue/severson-dells-nature-center/
Given that it is working in one spot, I’ll use that as a troubleshooting spot.
I haven’t updated the plugins yet as things change quite a bit in the code and I haven’t had the time to dedicate to making the customizations that will be required after the update.
Any obvious you see between the venue page and the map page?
Thanks.
October 13, 2015 at 7:56 am #1014121Jamie Johannsen
ParticipantSame thing on the individual event pages:
http://winnebagoforest.org/event/environmental-effects-on-photosynthesis/
October 13, 2015 at 3:51 pm #1014322George
ParticipantThanks for this information @Jamie! I checked out both links you provided and unfortunately did not find an outright JavaScript error on either page. With that in mind, then, your comments about customizations are interesting; do you mean that you have customized the map, single, and/or venue templates on your site already?
If so, then I’d recommend making a backup of these customizations. Once you have them backed up, try removing them from your site and see if any of these issues improve.
Let us know what you find!
Thanks,
GeorgeOctober 21, 2015 at 2:31 pm #1016732Jamie Johannsen
ParticipantWell what I’ve found is that for some reason the var tribeEventsSingleMap isn’t showing up on those pages. If I hardcode them in, then the map shows up correctly. What would cause this variable not being assigned?
Thanks,
DanOctober 22, 2015 at 8:43 am #1016939George
ParticipantThanks for the update Dan, I don’t why I’ve been able to see that error in my own browser debugging tools so I’m sorry I missed that!
As for the source of this error:
First, you’re using outdated versions of the plugins, as mentioned before. I get why you haven’t updated yet, I just wanted to note here again to underscore the importance of staying up-to-date.
Next, it might be from customizations on your site. I asked a few questions about this above, can you address them all specifically? I’ve quoted them here for reference:
With that in mind, then, your comments about customizations are interesting; do you mean that you have customized the map, single, and/or venue templates on your site already?
If so, then I’d recommend making a backup of these customizations. Once you have them backed up, try removing them from your site and see if any of these issues improve.
I bolded the important parts in the quote above – I’d recommend attending to those things and letting us know what you find, as those are the most useful questions for this scenario at this point.
And one last thing: thank you for patience with this thread thus far! 🙂
Cheers,
GeorgeOctober 22, 2015 at 12:43 pm #1017059Jamie Johannsen
ParticipantThe plugins should be up to date: I’m running 3.12.3 and 3.12.4 for regular and pro respectively. If it looks like I’m not, trying clearing your browser cache as I had to do that when I ran the update myself.
Sorry I didn’t pick up the customization part before; I’ve only modified the CSS (tribe-events-pro.css and tribe-events.css), the default-template.php (to change the name of some containing DIVs) and list.php (to remove the header/footer).
October 22, 2015 at 1:02 pm #1017069George
ParticipantNice! Glad you updated – apologies for assuming you hadn’t, I was basing my assumption off of the System Information you included with your first post here.
As for your questions, I’d recommend proceeding with my previous recommendations even if it’s just default-template.php and list.php.
Cheers!
GeorgeOctober 22, 2015 at 2:55 pm #1017113Jamie Johannsen
ParticipantThanks! Looks like my get_footer() isn’t being called. I added it in and it works, but throws off my CSS, which I’ll be able to troubleshoot. Thanks for the help George!
Dan
October 23, 2015 at 9:51 am #1017366George
ParticipantAwesome! Thanks for the update 🙂
Best of luck with your site,
George -
AuthorPosts
- The topic ‘Map View no longer working’ is closed to new replies.
