Incompatible with Event Espresso

Home Forums WordPress Themes – Premium Flat Responsive Incompatible with Event Espresso

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16705
    Lee Collier
    Member

    I’ve downloaded and installed Flat Responsive Pro. Unfortunately it seems to be incompatible with Event Espresso. It interferes with the AJAX form validation code and prevents certain features such as validating responses on user registration forms. I’ve tried this with a clean install with no other plugins and confirmed that it’s Flat Responsive Pro that’s at fault. Is this something that can be fixed easily?

    #21930
    Anonymous
    Inactive

    Hi Lee,

    Could you please send us wp-login details of the site in our email [email protected] so that we could find exact issue and provide a solution, if the theme have a compatibility issue.

    Thanks

    #21933
    Lee Collier
    Member

    Hi,

    Thanks for getting in touch. The plugin is Event Espresso http://eventespresso.com

    I tracked the problem down to your script flat_responsive_extras.js. It’s removing the classes from all the buttons on the page and adding your own classes. Event Espresso uses its own classes to add event listeners which trigger its AJAX form validation scripts that are essential for functionality.

    I commented out the following lines:

    //$( ‘table’ ).addClass( ‘table’ );
    //$( ‘#submit’ ).addClass( ‘btn btn-sm’ );
    //$( ‘a.button’ ).removeAttr(‘class’).addClass( ‘btn btn-sm’);
    //$( ‘.button’ ).removeAttr(‘class’).addClass( ‘btn btn-sm’);
    //$(‘#submit’).removeAttr(‘id’);

    It would be nice to have an option in your theme to prevent it from removing classes attached to buttons as I suspect this code will interfere with quite a lot of plugins that trigger events when buttons are pressed.

    My site is https://jubilee.events

    #16706
    Anonymous
    Inactive

    Hi Lee,

    That’s well, that you got solution. If you face any problem again, please let us know.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.