WordPress.org

Ready to get started?Download WordPress

Forums

BP GTM System
[resolved] Jquery fix (4 posts)

  1. clayborn
    Member
    Posted 1 year ago #

    Fantastic component _ I had a Jquery conflict between tinymce - datepicker and the comments form input that broke it and found the solution :
    if you have such a problem: open "en_GB.js" and replace the first line (stop before the "{" ) with `var $ = jQuery.noConflict();
    jQuery(document).ready(function($)`
    save and close.
    Then open "global.js" and replace the same opening jQuery statement with `"var jQuery = $.noConflict();
    jQuery(document).ready(function($)"`

    conflict fixed.

    http://wordpress.org/extend/plugins/bp-gtm-system/

  2. clayborn
    Member
    Posted 1 year ago #

    btw I have a question :

    please, what do I have to do in order to be able to display images in the comments output ?

    I modified the jQuery - as stated above - and the php files with wp_editor but I can' t get images to display ; there is only a [0x0] hardcoded and therefore invisible a href for each picture.I just don't get it.

  3. clayborn
    Member
    Posted 1 year ago #

    fixed - thank you

  4. bruce-s
    Member
    Posted 1 year ago #

    Excellent - thank you very much - worked a treat...

    This is what I have in en_GB.js

    1. var $ = jQuery.noConflict();
    2. jQuery(document).ready(function($){
    3. $.datepicker.regional['en_GB'] = {

    And global.js

    1. var jQuery = $.noConflict();
    2. jQuery(document).ready(function($) {
    3. if (typeof ajaxurl == 'undefined')

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic