Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this is that some JavaScript files seem to be missing in your theme. When you open the JavaScript error log console in your browser, you should see the names of the files (jquery.colorbox.js and fitvids.js). As those files are missing, the call to the functions that they contain fails and raises an error, due to which the execution of all JS on that page (including the pagination for TablePress) is stopped by the browser.

    Regards,
    Tobias

    Thread Starter lemond404

    (@lemond404)

    Thank you! We see it now.

    The theme works fine but our child theme is not for some reason.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    most likely, you’ll just have to copy those files over from the parent theme.

    Regards,
    Tobias

    Sorry, but I’ve got the same problem. I am not able to read the code. My coding ability is very limited. I do have the same tables on my development site (localhost) and it looks/works just fine.

    I need some help!!

    https://www.guardsix6.com/start/science-fiction-books-toc-2/

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Guardsix,

    thanks for your post, and sorry for the trouble.

    In your case, the issue has a different reason: Table 2 on that page has only one row, but no header row. Such a header row is however necessary for the JS features. Please, either add a header row to table 2 or turn off the “Use DataTables” checkbox for it.

    Regards,
    Tobias

    Thread Starter lemond404

    (@lemond404)

    Thanks Tobias! I copied the JS files to a new “scripts” folder in the child theme, updated an old functions.php file and the tables are now displaying per our settings.

    Case closed. Thanks again.

    Thanks TobiasBg.

    I noticed that I had hidden my first row but I also had checked that it was the header row. Once I unchecked that then everything worked just like on my development site.

    Thanks again for your help. I really appreciate your tablepress plugin.

    Jim C.
    [email protected]

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    @lemond404
    Very cool! That was an easy fix then ??

    @ Guardsix
    Ah, that makes sense. When only one row is left, it can not be the header row, and that then caused this error. Good to hear that you found this!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘JS Sorting problems’ is closed to new replies.