Home › Forums › Calendar Products › Events Calendar PRO › Need help identifying jQuery conflict in my theme
- This topic has 9 replies, 2 voices, and was last updated 11 years, 2 months ago by
Barry.
-
AuthorPosts
-
February 12, 2015 at 5:37 am #941911
Pamela
ParticipantHi, I have a perfectly working Events Calendar here – http://ilaacp.org/2015/events/
But I need for it to work in the site’s original custom theme here –
The pop-ups on the month calendar are not working. Optional views don’t show up in header.
It works at this same location with a default TwentyEleven theme, but not with the custom theme. I am pretty sure that it is a jQuery conflict within the theme, possibly multiple copies of jQuery being called, but I didn’t build the theme and I’m not knowledgeable enough to find and correct the problem. I’ve been trying. I am hoping you might be able to quickly point me to the correct files/code so that I can attempt to correct. The theme includes some noconflict code. Unfortunately, I don’t have access to the theme designers.
If you are willing, and need access to the site, I’ll happily provide it.
Thanks much,
Pamela
Wordpress and Events Calendar installs are current.February 12, 2015 at 5:38 am #941912Pamela
ParticipantFebruary 12, 2015 at 5:39 am #941914Pamela
ParticipantWell, what the heck….http://ilaacp.org/dup/events-calendar/
February 12, 2015 at 10:02 am #942034Barry
MemberHi Pamela,
I’m sorry to hear you’ve been experiencing difficulties.
You’re correct that the issue is with duplicate instances of jQuery. A script used by your theme – jquery.tools.min.js – either incorporates a very old version of jQuery or else dynamically loads it and this is at the seat of the problem.
I’m reluctant to suggest you remove that script in case it causes breakages elsewhere in your theme and really the best course of action is to seek the assistance of the theme author, though I appreciate that isn’t viable in your case. Additionally, though I could be mistaken, I suspect that particular script has not been enqueued through WordPress – so removing it would require a bit of hacking.
So, sadly, given we’re looking at what sounds like an unsupported theme that may be following a few bad practices, I’m not sure how much we’re going to be able to offer you on this occasion 🙁
If you’re happy opening up the theme code you might find a header.php template and you can possibly locate and remove/comment out the link to jquery.tools.min.js from in there, but that’s really just a guess. Again, proceed with caution here!
Sorry we can’t do much more – but perhaps you could reach out to a suitable freelance developer if you need further assistance or even consider moving to a supported, mroe recently developed theme?
February 12, 2015 at 10:51 am #942056Pamela
ParticipantBarry, thanks so much. That is exactly the little hinting that I needed. I won’t hold you responsible! Backing up now….:)
Thanks,
PamelaFebruary 12, 2015 at 11:17 am #942065Barry
MemberGood luck!
February 15, 2015 at 3:21 am #942559Pamela
ParticipantIf you have to come back with “so sorry…” I will understand. But if you can point me anywhere in regards to this error – “uncaught exception: TemplateError: TypeError: imageTooltipSrc is null (on tribe_tmpl_tooltip line 11)” – it will be appreciated.
On my month view pop-ups, some of the events pop up, but most do not. when they don’t show up, they throw the error above.
I have removed any jquery conflict that I can see and I have removed the theme’s custom post-type for events. The events in the calendar were imported from another working Events Calendar calendar, if that matters.
Thanks for any quick insight.
PamelaFebruary 15, 2015 at 3:27 am #942560Pamela
ParticipantProblem calendar is here – http://ilaacp.org/dup/events-calendar/. Problem persists in twenty-eleven theme and with all other plugins deactivated.
February 16, 2015 at 8:51 am #942749Barry
MemberHi Pamela,
The events in the calendar were imported from another working Events Calendar calendar, if that matters.
It may matter: my guess is something went amiss in relation to (some of) the featured images. If you pick the first “malfunctioning” event and edit it to set a new featured image, does it come back to life then?
March 5, 2015 at 2:33 pm #946325Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks
-
AuthorPosts
- The topic ‘Need help identifying jQuery conflict in my theme’ is closed to new replies.
