Map & List view not working

Home Forums Calendar Products Events Calendar PRO Map & List view not working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #97994
    ausagventures
    Participant

    I am reposting this in a new discussion thread as requested by Modern Tribe staff.

    I’m rebuilding my website at http://www.develop.ausagventures.com and once everything is perfect and ready to go then that website will be replacing the current http://www.ausagventures.com

    I’m having some issues with the calendar- do you want me to change my licence key over to http://www.develop.ausagventures.com and all that jazz before you can respond to my question?

    Basically what it is is that when you go to http://develop.ausagventures.com/events/ everything is dandy because the default view is month

    When you click on “map view” it comes up with nothing on the map and the URL changes to

    http://develop.ausagventures.com/events/map/?action=tribe_geosearch&tribe-bar-date=Date&tribe-bar-search=Search&tribe-bar-geoloc=Location

    and nothing shows on the map and the message below is

    “No results were found for events in or near “Location”.”

    But if I manually change the URL to http://develop.ausagventures.com/events/map/ it works beautifully

    What’s the go with the URL being all funky? I’ve checked that all settings are the same as on the current live website http://www.ausagventures.com and I just need to resolve this before I can delete that website and replace it with this one.

    I’m having the same issue with the list view as well.

    Cheers

    #98400
    Barry
    Member

    The first thing to check is if your theme or another plugin is using a placeholder polyfill: can you try deactivating all other plugins and switching to a default, unmodified theme such as Twenty Twelve: do you still see the same problem?

    If you do not, try reactivating everything one-at-a-time until you find the culprit.

    I’m having some issues with the calendar- do you want me to change my licence key over to http://www.develop.ausagventures.com and all that jazz before you can respond to my question?

    No, it’s clearly their as a development site so I’d say let’s leave things as they are for the time being.

    Does that help?

    #98471
    ausagventures
    Participant

    I was a bit nervous about deactivating all of my plugins, so I set up another test website and only installed the theme and the events calendar/pro and I’m having the same issue so I’m guessing it doesn’t sit well with the theme?

    How do we fix this? The theme is Flat by Themify.

    #98485
    Barry
    Member

    So is it definitely the theme? That is, do you find it works well with a default theme like Twenty Twelve?

    #98488
    ausagventures
    Participant

    Yep I forgot to try that so did just then, works as it should with 2012 🙁

    #98672
    Barry
    Member

    Hmm, ok.

    I feel pretty confident that they must be using some sort of polyfill technique here and its going awry for whatever reason. Basically:

    • To guide people as to what each field in the Tribe bar does we use some placeholder text like “Search” and “Location”
    • These are, however, just placeholders and that text shouldn’t be submitted (ordinarily it can’t be/will not be anyway – as you’ve seen when you switch to a different theme)
    • I wonder though if your theme ships with a script that essentially takes the placeholder text and sets it up as the actual field value (sometimes this is done for cross-browser compatibility reasons and, if so, they would also take care of removing the field values before submission … but I’m wondering if that is failing here)

    Is that a possibility that you could take to Themify’s support team – and perhaps ask if they do bundle such a script like I have described if there is a means of selectively disabling it (on event views, for instance). On our end, we have functions such as tribe_is_event_query() that can be helpful when detecting if a request relates to an event page.

    It could be I am off-course with this theory, but even if Themify can ‘debunk’ it that could be useful information here.

    Does that help?

    #98683
    ausagventures
    Participant

    I will copy and paste this into a thread with them and let you know how I get on 🙂 Thanks so much!

    #98825
    Barry
    Member

    No problem at all – let us know how it goes!

    #98969
    ausagventures
    Participant

    Hey Barry,

    Turns out you are correct! This was their response

    “Hi Stephanie,

    As a matter of fact we do use such a script. Please try this, first create a file named “custom-functions.php” in your theme’s root directory and then add this bit:
    <?php

    function custom_theme_enqueue_scripts() {
    wp_dequeue_script( ‘theme-script’ );
    wp_enqueue_script( ‘theme-script’, THEME_URI . ‘/js/themify.custom.script.js’, array(‘jquery’), false, true );
    }
    add_action( ‘wp_enqueue_scripts’, ‘custom_theme_enqueue_scripts’, 12 );
    Now make a duplicate of js/themify.script.js file and rename it to: themify.custom.script.js and open it up. Find:
    // HTML5 placeholder fallback
    Remove every line after wards until you reach the comment block for the next script which is highlighted as:
    // Scroll to top

    Hope this helps ;)”

    So now I just need to hire a tech to do that for me (my CSS is as advanced as changing font colour and size) and then it should be happy days!

    Cheers!!!!

    #136008
    Barry
    Member

    (Closing this out!)

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Map & List view not working’ is closed to new replies.