WordPress.org

Support

Support » Plugins and Hacks » WP-Table Reloaded » [Resolved] [Plugin: WP-Table Reloaded] search and sorting not working even with table sorter enabled

[Resolved] [Plugin: WP-Table Reloaded] search and sorting not working even with table sorter enabled

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author TobiasBg

    @tobiasbg

    Hi,

    the table at http://toanjuan.com/inventory/ has only sorting because in WP-Table Reloaded, on the “Plugin Options” screen, “Tablesorter” is selected as the JavaScript library. For the search function, this needs to be changed to “DataTables”.

    For the table at http://summittileonline.com/checkstock, the same is true, but additionally, there’s a JavaScript error on that page. To find out where exactly, I suggest to temporarily turn off JavaScript minification in the cache plugin.

    Regards,
    Tobias

    Wow thanks tobias. Turning off minification made my site alot faster and my slider work again

    http://www.webpagetest.org/result/120622_2V_8CP/1/performance_optimization/#first_byte_time

    If you dont mind. May i know how or where the error message is?

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    that’s interesting. I would have expected that the page loads a little bit slower actually… But the reason might be that JavaScript error.

    I can see the error message in the Google Chrome Developer Tools, which has a JavaScript console. If your are using Firefox, there’s the great “Firebug” extension, which offers similar features.

    The table at http://summittileonline.com/checkstock now suffers from a configuration problem in your WordPress installation. The sorting is not working as you can see. The reason is that it is not clearly defined whether you want to use the domain name with www. or without. Please take a look at http://wordpress.org/support/topic/plugin-wp-table-reloaded-search-box-tools-disappear-on-non-www-domain for information on how to fix this.

    Regards,
    Tobias

    My host was able to succesfully setup the redirect But the w3 cache plugin interferes with it.

    works now but is there a way to make it work with w3 cace. I should probably ask w3 as well but if you any advice that would be appeciated. THanks toias.
    —-
    I setup the redirect, however, it did not help. Although I have seen W3 cache interfere with a lot of things, so I disabled it and it immediately started working. You can see it working now.

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    from what I can see, the problem remains. Now, a file that WP-Table Reloaded needs to load on the frontend (namely the file http://summittileonline.com/wp-content/plugins/wp-table-reloaded/languages/datatables/lang-en_US.txt) is being loaded from the cdn. domain. This does not work though, as a JavaScript request can’t load files from other domains.
    Can you please try to exclude that file from being loaded from the CDN? I believe that there is an option to exclude files from this in the W3 Total Cache settings.

    Regards,
    Tobias

    Great!

    Its working now after excluding file!

    You are awesome tobias. Thanks so much

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    very cool! Thanks a lot for the confirmation! 🙂

    Best wishes,
    Tobias

    I have the problem that my table is not sortable (no arrow) in the fileds of top row.

    her is my site: http://farhi.uitm.edu.my/latihan_industri/#/senarai-majikan

    I tried to disable plugins one by one to check whether there is conflict. I couln’y find one. Probably, it is my theme.

    What can I do?

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    the reason for this is that your table is loaded into the page via an AJAX request. During that request however, only the table content is sent/retrieved, but no the call to the JS library that enables the sorting (which is located in the page footer).
    You will probably have to extend the theme or AJAX plugin that you are using to execute that JS call after the page with the table is loaded. Unfortunately, I don’t really know how that can be done, so I can’t help with it 🙁 Sorry.

    Regards,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] [Plugin: WP-Table Reloaded] search and sorting not working even with table sorter enabled’ is closed to new replies.
Skip to toolbar