Map View no longer working

Home Forums Calendar Products Events Calendar PRO Map View no longer working

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1013172
    Jamie Johannsen
    Participant

    Have 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.

    #1013293
    George
    Participant

    Hey @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,
    George

    #1014118
    Jamie Johannsen
    Participant

    Thanks 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.

    #1014121
    Jamie Johannsen
    Participant
    #1014322
    George
    Participant

    Thanks 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,
    George

    #1016732
    Jamie Johannsen
    Participant

    Well 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,
    Dan

    #1016939
    George
    Participant

    Thanks 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,
    George

    #1017059
    Jamie Johannsen
    Participant

    The 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).

    #1017069
    George
    Participant

    Nice! 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!
    George

    #1017113
    Jamie Johannsen
    Participant

    Thanks! 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

    #1017366
    George
    Participant

    Awesome! Thanks for the update 🙂

    Best of luck with your site,
    George

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Map View no longer working’ is closed to new replies.