theme conflict Jquery failing on custom post type "tribe events"?

Home Forums Calendar Products Events Calendar PRO theme conflict Jquery failing on custom post type "tribe events"?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #62153
    Timothy
    Participant

    Hi, I upgraded to Events Calendar Pro v3 and noticed some unusual behavior when entering new events.

    When I enter a new event and click the “add media” button, I get no media window. the button simply doesn’t work. also, when I click in the “start day & Time” box, I get no pop up menu with the calendar. In addition, when I click “used saved Venue” and select a pre-defined venue, the NAME, ADDRESS, CITY etc fields do not collapse up.

    All the above makes me think that there is some conflict with my theme’s Jquery and version 3 of event calendar pro. All the other post types work fine… it’s only withe Event Calendar post type that I have the issue.

    When I revert to 2013 default wordpress theme, the issue goes away, so I know there is a theme conflict of some kind, but where do I start to troubleshoot the issue?

    thanks
    Timothy

    #62542
    evossman
    Participant

    I have this same issue when using Woothemes City Guide. Just as an FYI.

    #62826
    Rob
    Member

    Hey folks. Thanks to both of you for the feedback here; I see that evossman is on Woo’s City Guide; what theme are you on, Timothy? Is it generally a fairly AJAX-heavy theme?

    The reason I ask is: since we launched 3.0, we’ve noticed quite a few AJAX/JS-related issues reported; we’re finding that in those cases, unless the theme’s AJAX is well written, there are going to be problems. Our plugin relies heavily on AJAX; running on a theme that does the same adds another layer of complexity (as it’s mixing it with other AJAX systems). That said, a good developer has tons of custom events from our plugin to hook into, and we actually did design the system so that this mixing could occur.

    Can you let me know if that might be the case here, or if the original theme reported here isn’t particularly AJAX-centric?

    #62839
    Timothy
    Participant

    Hi Rob,
    I’m using SweeteDate theme:
    http://themeforest.net/item/sweet-date-more-than-a-wordpress-dating-theme/4994573

    There are ajax elements in this theme, and I know there is some kind of conflict going on with the theme. I do use other complex plugins that have ajax elements with this theme including WooCommerce and woocommerce ajax driven product search/filters, Buddypress, Sabai Directory, and so far The Events Calendar is the only one that has ajax problems that I can see.

    It may also be worth noting that my ajax problems with the Events Calendar are on the backend only… the Community plugin (adding your own events on the front end) works fine and all ajax popups and media uploads work correctly.

    I know it’s a complex problem to troubleshoot, but any tips on how to approach it? Should I take one of the Ajax features that is broken and try to work from there? For example on the “Add New Event” page:
    1) the “add media” button doesn’t work. (add featured image does work)
    2) The HTML content entry text box doesn’t have have of the usual html helper links in it (such as bold, italic, blockquote)
    3) the event date entry field does not generate the date picker pop up layer.
    if any of these issues point to a particular piece of code, perhaps I can take that specific info the the theme developers to see if there is any issue with their ajax implementation?

    thanks in advance for your help.
    Tim

    #63405
    Rob
    Member

    Hey again Timothy. Got it; thanks for the follow-up here and for the explanation. Knowing that this doesn’t impact the frontend in any capacity actually makes me think it’s less related to what I mentioned earlier than I thought. For the media uploader: I actually do see there’s another user reporting a similar problem (https://theeventscalendar.com/support/forums/topic/the-add-media-button-wont-open-to-select-media-options) so it’s definitely possible something could be better handled on our end. I’m wondering if issue B might be an outcropping of that.

    Do you have this all configured on a staging site or someplace similar where you would allow me to take a look? I’d like to see this in action so I can get steps to our developer, and we can try to point you to the specific bit of code causing issues?

    Thanks for your patience and for reporting this.

    #63769
    Timothy
    Participant

    This reply is private.

    #64363
    Barry
    Member

    Hi Tim,

    Rob asked me to take a look on his behalf and, at this time, I don’t believe I’ll need further access to your site – so feel free to kill that user account and thanks for taking the time to create it 🙂

    So this does indeed look like it relates to a script (CMB or “Custom Metaboxes and Fields for WordPress”) which seems to be bundled with your theme. As soon as the event editor loads a JS error is triggered in relation to this script and that is preventing other parts of the page from behaving as expected. Regarding your note that all other post types work fine, however, I don’t actually find the same thing: on visiting the Add New Testimonial screen for instance the same error (and inability to add media) is present.

    Essentially then this is looking like a problem that would correctly have to be dealt with by the theme vendor – it may be that they are taking what could be described as a “shotgun” approach and are loading this code on all post editor screens, even those where it is not required. With that in mind, could you contact the theme author/vendor and ask them:

    * If that script is indeed required every time the post editor loads and for every post type

    * If not, can they provide code to either restrict it only to those where they know it is needed, or else prevent it from being loaded on our own/the testimonial editor/other affected screens

    Hope that helps,

    Barry

    #64393
    Timothy
    Participant

    Hi Barry,
    Thank you so much for taking the time to look into my issue. You are 100% correct – I talked to the theme developers just now and they are going to add the fix into the next theme update.

    Can’t tell you how much I appreciate your support. I would not have figured that out on my own. We can mark this issue as resolved.

    thanks,
    Tim

    #64396
    Barry
    Member

    Great to hear – it’s fantastic that they are able to push out a fix for this – and thank you for you continued support 🙂

    #502571
    michael albee
    Participant

    I’m having similar problems with Event Calendar Pro and the Elision theme from Qode. On the backend everything is loading fine … but when I try to change views on the frontend or go to the “next page” of events none of the links seem to work.

    Any advice in ANY direction would greatly be appreciated.

    #502774
    michael albee
    Participant

    This reply is private.

    #505413
    Barry
    Member

    Hi Michael,

    I’m not sure that’s quite the same – this is also a pretty old issue and generally speaking we anyway ask that users create new threads of their own rather than jump into much older threads.

    It helps avoid confusing threads that cover many different issues – so if you could go ahead and do that we’d appreciate it and one of the team will help as quickly as they can. I’ll go ahead and close this thread in the meantime.

    Thanks!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘theme conflict Jquery failing on custom post type "tribe events"?’ is closed to new replies.