• Resolved jettef

    (@jettef)


    Hi!

    I made a table with WP-table reloaded, but none of the the javascript features are working. I can’t sort and there’s no search box.

    The table is here http://tunnekoera.ee/koeraga-valja-sooma-2/ password is “oxx”.

    I have enabled table head ,javascript and table tools in the settings. In my footer.php there is no <?php wp_footer(); ?> line and when I add it manually, I get

    DataTables warning (table id = ‘wp-table-reloaded-id-1-no-1’): Cannot reinitialise DataTable.

    To retrieve the DataTables object for this table, please pass either no arguments to the dataTable() function, or set bRetrieve to true. Alternatively, to destory the old table and create a new one, set bDestroy to true (note that a lot of changes to the configuration can be made through the API which is usually much faster).

    Switched to two different themes, which had <?php wp_footer(); ?> line in footer.php, but javascript thingy still didn’t work.

    I use Firefox, also checked my table with Safari. Also tried reinstalling the plugin.

    http://ww.wp.xz.cn/extend/plugins/wp-table-reloaded/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question.

    I’m not exactly sure, why this happens, but in the head part of the page source, there is some HTML code

    <center><img src= width=800></center>

    that seems to be causing trouble. It might be possible that this stops the JS from working.

    Can you try to remove this, probably from your theme’s “header.php” file.

    Regards,
    Tobias

    Thread Starter jettef

    (@jettef)

    Removed it, but javascript still not working 🙁

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    that is odd, I don’t see any other error message that could indicate what’s wrong…

    Can you temporarily switch to the WordPress Default Theme to see if it working there?

    After that, please try replacing the language file “lang-et.txt” (in the “language/datatables” subfolder) with the file “lang-default.txt”, as sometimes language files can cause trouble.

    Regards,
    Tobias

    Thread Starter jettef

    (@jettef)

    Switched theme and changed the language file name. It still doesn’t seem to be working. I hope I’m not wasting your time 🙁

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no, don’t worry! 🙂

    Unfortunately, I don’t have other ideas to find out what’s wrong. 🙁 I suggest that you try asking in the DataTables forums at http://www.datatables.net, as the people there are more experienced with DataTables and might be able to spot the problem.

    Regards,
    Tobias

    Thread Starter jettef

    (@jettef)

    Thanks for trying! 🙂

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, no problem. Sorry that I couldn’t help.

    If you find the reason, please let us know!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: WP-Table Reloaded] DataTables JavaScript features not working’ is closed to new replies.