localendar Forums Homepage


Print at Sep 13, 2025, 9:12:43 AM

Posted by madison2 at Aug 7, 2013, 2:43:59 PM
mini calendar function -- jQuery error alert (front and backend of site)
For site: http://www.madisonsquarechurch.org/, there is a mini-calendar feature in the 2nd footer widget. After the recent WordPress 3.6 upgrade, this site (out of a few dozen I manage) was the only one to exhibit the error alert message detailed here: http://wordpress.org/support/topic/wordpress-36-and-jqueryblockui-version-problem-solution?replies=22 -- and it is also the only WordPress site that uses Localendar, plus there are references out there to other calendaring widgets that experienced this same issue. Thus, I was able to narrow it down to Localendar, specifically the mini-calendar.

The temporary "fix" for getting rid of that alert window was to comment out the following in the functions.php file:
//Include script for mini calendar
function mad_include_script() {
wp_enqueue_script('mad_local', 'http://www.localendar.com/js/PublishedIncludeMini.js');

}
... as it was calling this:
IncludeJavaScript('http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js');

... which, to my limited knowledge of jQuery, is very bad.

So, until you can issue a proper fix so that your code can peacefully coexist with the latest version of Wordpress, that mini-cal is rendered useless. Is there code I can/should replace the Googleapis reference with? Do you post another forum thread on this topic that I overlooked?

Please advise!

Steve C.
webmaster, madisonsquarechurch.org

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us