Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • dpchap015 Friend
    #192908

    Hi i installed a 3rd party Content Filter Extension: http://test.eduvative.in/etr_test_3/list-of-all-tags/
    It dint work and as per the support staff of this Content Filter Extension, there are too many Scripts the template uses which conflict with the content filter’s scripts.

    Please help me fix this issue.

    Please bear with me for the nasty layout of the site. Its a test version.

    Thanks.

    Nazario A Friend
    #515199

    Hi dpchap015,

    <blockquote>Hi i installed a 3rd party Content Filter Extension</blockquote>

    Did you try to switch default template to another standard template of Joomla? and let me know if it works or not. In case it works, please tell me the error in details when it’s used with our template.

    Regards,

    Nazario A

    dpchap015 Friend
    #515363

    @nazario A

    It is working.
    http://test.eduvative.in/etr_test_3/list-of-all-tags
    On this menu, i assigned the template “protostar – Default” and changed the Module Position to “position-1” for this template and its working.

    dpchap015 Friend
    #515519

    @ninja Lead
    Can you please help me out on this..?

    dpchap015 Friend
    #515950

    @saguaros
    Can you help me on this please…?

    Ninja Lead Moderator
    #516410

    <em>@dpchap015 402623 wrote:</em><blockquote>@Saguaros
    Can you help me on this please…?</blockquote>

    I spent a lot of time to debug the problem on your site with Content Filter Extension. Some bugs are hard to detect and fix, so it took us time to reply back to you :

    JA Magz Template is using latest version imagesLoaded function and Content Filter Extension only use jQuery imagesLoaded plugin v1.1.0 thats the reason for conflict with JA Magz Template, you can fix this problem with my solution

    Open modules/mod_content_filter_responsive/assets/js/jquery.isotope.js file

    Change

    function triggerCallback() {
    callback.call( $this, $images );
    }

    To

    function triggerCallback() {
    $.isFunction(callback) && callback.call( $this, $images );
    }

    Let me know if it helps

    dpchap015 Friend
    #516838

    <em>@Ninja Lead 403231 wrote:</em><blockquote>I spent a lot of time to debug the problem on your site with Content Filter Extension. Some bugs are hard to detect and fix, so it took us time to reply back to you :

    JA Magz Template is using latest version imagesLoaded function and Content Filter Extension only use jQuery imagesLoaded plugin v1.1.0 thats the reason for conflict with JA Magz Template, you can fix this problem with my solution

    Open modules/mod_content_filter_responsive/assets/js/jquery.isotope.js file

    Change

    function triggerCallback() {
    callback.call( $this, $images );
    }

    To

    function triggerCallback() {
    $.isFunction(callback) && callback.call( $this, $images );
    }

    Let me know if it helps</blockquote>

    @ninja Lead
    i tired your solution
    but still the problem is same.
    http://test.eduvative.in/etr_test_3/list-of-all-tags#sortBy=categories
    how to fix it>?

    Ninja Lead Moderator
    #516966

    I have fixed the problem directly on your site. I list below the changes I have made for your reference.

    + Disable the script imagesLoaded function in jquery.isotope.js file when running JA Magz template(the conflict was mentioned in my other post here)

    Open the file ..modules/mod_content_filter_responsive/assets/js/jquery.isotope.js, then add comment /* */ to the snippet below:


    /*
    $.fn.imagesLoaded = function( callback ) {
    var $this = this,
    $images = $this.find('img').add( $this.filter('img') ),
    len = $images.length,
    blank = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==',
    loaded = [];
    // new code
    function triggerCallback() {
    $.isFunction(callback) && callback.call( $this, $images );
    }

    function imgLoaded( event ) {
    var img = event.target;
    if ( img.src !== blank && $.inArray( img, loaded ) === -1 ){
    loaded.push( img );
    if ( --len <= 0 ){
    setTimeout( triggerCallback );
    $images.unbind( '.imagesLoaded', imgLoaded );
    }
    }
    }

    // if no images, trigger immediately
    if ( !len ) {
    triggerCallback();
    }

    $images.bind( 'load.imagesLoaded error.imagesLoaded', imgLoaded ).each( function() {
    // cached images don't fire load sometimes, so we reset src.
    var src = this.src;
    // webkit hack from http://groups.google.com/group/jquery-dev/browse_thread/thread/eee6ab7b2da50e1f
    // data uri bypasses webkit log warning (thx doug jones)
    this.src = blank;
    this.src = src;
    });

    return $this;
    };
    */

    + Fixed the JS problem in mod_social module:

    Open modules/mod_social/js/popup.js file,

    Replace

    window.location.href = '<?php echo JRoute::_($current . '?&provider=twitter'); ?>';
    With

    window.location.href = "<?php echo JRoute::_($current . '?&provider=twitter'); ?>";

    Please check it on this link again: http://test.eduvative.in/etr_test_3/list-of-all-tags.

    dpchap015 Friend
    #518365

    <em>@Ninja Lead 403972 wrote:</em><blockquote>I have fixed the problem directly on your site. I list below the changes I have made for your reference.

    + Disable the script imagesLoaded function in jquery.isotope.js file when running JA Magz template(the conflict was mentioned in my other post here)

    Open the file ..modules/mod_content_filter_responsive/assets/js/jquery.isotope.js, then add comment /* */ to the snippet below:


    /*
    $.fn.imagesLoaded = function( callback ) {
    var $this = this,
    $images = $this.find('img').add( $this.filter('img') ),
    len = $images.length,
    blank = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==',
    loaded = [];
    // new code
    function triggerCallback() {
    $.isFunction(callback) && callback.call( $this, $images );
    }

    function imgLoaded( event ) {
    var img = event.target;
    if ( img.src !== blank && $.inArray( img, loaded ) === -1 ){
    loaded.push( img );
    if ( --len <= 0 ){
    setTimeout( triggerCallback );
    $images.unbind( '.imagesLoaded', imgLoaded );
    }
    }
    }

    // if no images, trigger immediately
    if ( !len ) {
    triggerCallback();
    }

    $images.bind( 'load.imagesLoaded error.imagesLoaded', imgLoaded ).each( function() {
    // cached images don't fire load sometimes, so we reset src.
    var src = this.src;
    // webkit hack from http://groups.google.com/group/jquery-dev/browse_thread/thread/eee6ab7b2da50e1f
    // data uri bypasses webkit log warning (thx doug jones)
    this.src = blank;
    this.src = src;
    });

    return $this;
    };
    */

    + Fixed the JS problem in mod_social module:

    Open modules/mod_social/js/popup.js file,

    Replace

    window.location.href = '<?php echo JRoute::_($current . '?&provider=twitter'); ?>';
    With

    window.location.href = "<?php echo JRoute::_($current . '?&provider=twitter'); ?>";

    Please check it on this link again: http://test.eduvative.in/etr_test_3/list-of-all-tags.</blockquote>

    @ninja Lead
    i tried the same solution that u mentioned .
    but the bug of script clash is still there.
    http://staging.edtechreview.info/search
    check ur PM
    how to fix it?

    Ninja Lead Moderator
    #518388

    I detected that your site use span3 to display this content on your site. I have changed it to span12, then the issue on your site get fixed.

    <blockquote><!– SPOTLIGHT –></blockquote>

    You can find it from: templates/ja_magz/tpls/blocks path and change from span3 to span12.

    <blockquote>check ur PM
    how to fix it?</blockquote>

    Please check again, I didn’t receive pm from you yet.


    1. the_layout
    dpchap015 Friend
    #518506

    PM that i sent for my other thread.

    i changed it to span12 its looks same like ur screenshot but the search filter part is not coming
    see this
    http://awesomescreenshot.com/0f527gu1c0

    Ninja Lead Moderator
    #518556

    I have debugged on your site and it uses span8 to display this content on your site.


    1. screenshot
    dpchap015 Friend
    #518562

    @ninja Lead
    now its on span12 again.
    but issue is still there
    please see the screenshot carefully
    http://awesomescreenshot.com/0f527gu1c0

    Ninja Lead Moderator
    #518612

    I have checked php source code of this module, I could not detect source code to show Filter, Tags, Categores, Date, Author tags as you expected.

    This is problem from 3rd party, it would be best if you contact extension developer for further help on this.

Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 3 voices, and was last updated by  Ninja Lead 10 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum