Cant switch months
-
THe link for the next month is at the bottom but the javascript is not working and it just gets hung up on the loading gif. How can I just disable the javascript and click the next month link and open the next page.
-
I have exactly the same problem. It is not possible to scroll between months. It just hangs.
You can se it here, http://www.flodanyheter.se/events/
Choose Månad and try to scroll between months.Hi folks,
Thanks for your post. I’m sorry you’re having trouble. Have you tried deactivating other plugins to look for a conflict, or switching to a default theme like Twenty Twelve? If you need help, please read this guide to testing for conflicts.
If you can isolate this as an issue that’s inherent to The Events Calendar, we’d be happy to look into it further. Unfortunately, we can’t help troubleshoot conflicts here on the free forum. If you do find a conflict, you can try getting in touch with the developer of the theme or plugin and see if they can shed some light on the issue.
We also have some resources that might be helpful for you in troubleshooting a conflict:
▪ Themer’s Guide – provides an overview of how to customize the plugin’s frontend appearance.
▪ Tutorials – useful tips and tricks for changing how the plugin looks and behaves.
▪ Technical Docs – provides an overview of the classes and functions in each pluginGood luck, and thanks for using The Events Calendar!
~Leah
Go to /resources/tribe-events-ajax-calendar.js and comment out the following.
After you save that rename the .min.js file and it should work.
/*if (tt.pushstate && !ts.filter_cats) { dbug && debug.time('Month View Ajax Timer'); $(te).trigger('tribe_ev_ajaxStart').trigger('tribe_ev_monthView_AjaxStart'); $.post( TribeCalendar.ajaxurl, ts.params, function (response) { ts.initial_load = false; tf.enable_inputs('#tribe_events_filters_form', 'input, select'); if (response.success) { ts.ajax_running = false; td.ajax_response = { 'total_count': '', 'view': response.view, 'max_pages': '', 'tribe_paged': '', 'timestamp': new Date().getTime() }; if(dbug && response.html === 0){ debug.warn('Month view ajax had an error in the query and returned 0.'); } var $the_content = ''; if($.isFunction($.fn.parseHTML)) $the_content = $.parseHTML(response.html); else $the_content = response.html; $('#tribe-events-content').replaceWith($the_content); tribe_month_view_init(true); ts.page_title = $('#tribe-events-header').data('title'); document.title = ts.page_title; if (ts.do_string) { td.cur_url = td.cur_url + '?' + ts.url_params; history.pushState({ "tribe_date": ts.date, "tribe_params": ts.params }, ts.page_title, td.cur_url); } if (ts.pushstate) { history.pushState({ "tribe_date": ts.date, "tribe_params": ts.params }, ts.page_title, td.cur_url); } $(te).trigger('tribe_ev_ajaxSuccess').trigger('tribe_ev_monthView_ajaxSuccess'); dbug && debug.timeEnd('Month View Ajax Timer'); } } ); }*/// else { if (ts.url_params.length) window.location = td.cur_url + '?' + ts.url_params; else window.location = td.cur_url; //}Thanks for posting your solution dawebb! mikaelamaria, does that help you?
It’s been a month since we last heard from you, so in accordance with our forum guidelines I’m marking this thread resolved. Thanks for your support!
~Leah
The topic ‘Cant switch months’ is closed to new replies.