Events Made Easy › Forums › How do I … › EME calendar conflict with my jquery
Tagged: compatibility, jquery
- This topic has 4 replies, 3 voices, and was last updated 14 years, 7 months ago by
Franky.
-
AuthorPosts
-
Fri 18 Mar 2011 at 02:34 #42641
Anonymous
InactiveHello,
I have some jquery scripts running on my wordpress 3.1 installation along with Events Manager Extended. Events Manager Extended was working fine, but my jquery plugins were not.
I de-registered the default wordpress jquery library and used the newest version, 1.5.2, instead. This created some conflicts with other plugins but putting ?ver=1.4.4 after the script call has fixed most of these problems.
Still, EME wasn’t working. I took all my functions out of the $(document).ready(function(){ brackets and this has brought back the locations map, which wasn’t rendering.
Now, everything is rendering fine and playing nice together, except for the full calendar. When I am on the page with the calendar, all my other javascript breaks. I have deactivated all other plugins and this is still the case.
What can I do to get EME to work with my other scripts? I’ve tried disabling all of them except the simplest one, which autohides text in a field when on focus. It doesn’t work, so even without jq plugins, basic calls aren’t working and I get a javascript error that ‘$ is not a function’.
Any help would be greatly appreciated. Thanks.
Fri 18 Mar 2011 at 08:34 #47226Franky
KeymasterHmm … apparently I didn’t generalize the locations JS yet. Can you try if this changeset fixes it for you:
Fri 18 Mar 2011 at 17:34 #47227Anonymous
InactiveWordPress 3.1 was released with jQuery 1.4.4 instead of 1.5 because of WP admin system incompatibilities. Be sure 1.4.4 isn’t replaced by 1.5.2 while in the admin system. See: http://wpdevel.wordpress.com/tag/jquery/
Thu 24 Mar 2011 at 16:02 #47228Anonymous
InactiveFranky,
I replaced my eme_locations.php with the one you posted and I still have broken jquery.
I am not using this very latest version of EME though,
the one that was released a couple days ago. I don’t know if that matters.
Thu 24 Mar 2011 at 16:07 #47229Franky
Keymasterhmm … is the eme_locations.php fix ok so the location map shows? If the problem now exists only for the calendar I can search for it, otherwise I need to check using 1.5.2, but that’s currently not even supported by WP itself …
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.