lwoods / wp-aec

Automatically exported from code.google.com/p/wp-aec
0 stars 0 forks source link

Calendar is empty upon loading in browser #516

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The shortcode on http://thelifeoasis.com/calendar used to work fine.  It has 
recently stopped working maybe due to the amount of events on calendar?

In order to see the events, user will need to change the calendar view to a 
different month and then upon returning, the calendar will then populate the 
current month events properly.

Currently, it just shows up empty upon initial browser load.  Please visit 
above mentioned URL to duplicate.  

Thanks!

Original issue reported on code.google.com by wei.ho...@gmail.com on 29 Jul 2013 at 7:25

GoogleCodeExporter commented 8 years ago
It probably stopped working due to an old version of 
jquery.simplemodal.1.4.3.min.js
being used with a new version of jQuery.  To fix this, you can download the 
latest version of simplemodal, and copy the file to the ajax-event-calendar/js 
folder.

Read about the update here:
http://www.ericmmartin.com/simplemodal-1-4-4-released/

Download the update here:
https://code.google.com/p/simplemodal/downloads/detail?name=jquery.simplemodal.1
.4.4.min.js&can=2&q=

Next, edit ajax-event-calendar.php and replace this line...
wp_register_script('simplemodal', AEC_URL . 
'js/jquery.simplemodal.1.4.3.min.js', array('jquery'), '1.4.3', true);

...with the correct version numbers, so it now looks like this:
wp_register_script('simplemodal', AEC_URL . 
'js/jquery.simplemodal.1.4.4.min.js', array('jquery'), '1.4.4', true);

Good luck

Original comment by eranmmil...@gmail.com on 29 Jul 2013 at 10:41

GoogleCodeExporter commented 8 years ago
Hi,

Thank you for the suggestion.  As of now, it still doesn't work.  I applied the 
new jquery file and made the suggested edits.  The calendar still comes up as 
empty upon first arrival.

Please advise.  Thanks!

Original comment by wei.ho...@gmail.com on 29 Jul 2013 at 10:58

GoogleCodeExporter commented 8 years ago
Looking at your site's console log, it appears jGrowl is also in need of an 
update.  As before, you'll need to download the latest version of jgrowl and 
copy the file to the ajax-event-calendar/js folder.

Download the update here:
https://github.com/stanlemon/jGrowl/blob/master/jquery.jgrowl.min.js

You'll want to clear your browser cache and refresh the browser - please let me 
know if it still doesn't work.

Best!

Original comment by eranmmil...@gmail.com on 1 Aug 2013 at 4:23

GoogleCodeExporter commented 8 years ago
It appears to be working now!  I will continue testing it.  Hopefully there 
will be a plug-in update so that others will not have to fix it this way. 

Thanks!! :)

Original comment by wei.ho...@gmail.com on 1 Aug 2013 at 5:13