Home › Forums › Calendar Products › Events Calendar PRO › Map & List view not working
- This topic has 9 replies, 2 voices, and was last updated 12 years ago by
Barry.
-
AuthorPosts
-
January 28, 2014 at 3:06 pm #97994
ausagventures
ParticipantI 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
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
January 29, 2014 at 1:22 pm #98400Barry
MemberThe 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?
January 29, 2014 at 3:02 pm #98471ausagventures
ParticipantI 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.
January 29, 2014 at 3:37 pm #98485Barry
MemberSo is it definitely the theme? That is, do you find it works well with a default theme like Twenty Twelve?
January 29, 2014 at 3:45 pm #98488ausagventures
ParticipantYep I forgot to try that so did just then, works as it should with 2012 🙁
January 30, 2014 at 5:59 am #98672Barry
MemberHmm, 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?
January 30, 2014 at 6:08 am #98683ausagventures
ParticipantI will copy and paste this into a thread with them and let you know how I get on 🙂 Thanks so much!
January 30, 2014 at 10:20 am #98825Barry
MemberNo problem at all – let us know how it goes!
January 30, 2014 at 4:04 pm #98969ausagventures
ParticipantHey 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:
<?phpfunction 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 topHope 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!!!!
April 18, 2014 at 6:12 am #136008Barry
Member(Closing this out!)
-
AuthorPosts
- The topic ‘Map & List view not working’ is closed to new replies.
