• Resolved jackey

    (@jackey)


    Hi,

    Updated my theme to DMS 1.1.1 and I notice that on tables that have the DataTables Javascript Library enabled, the DMS editor fails to load.

    I get JS error thrown:

    Uncaught TypeError: Cannot call method ‘fnSetData’ of undefined juery.datatables.min.js?ver=1.2:29
    Uncaught TypeError: Cannot call method ‘shift’ of null all.js:60

    Any idea what is wrong here?

    http://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Could you please post a link to the page with the table, so that I can take a direct look? Thanks!
    Or does this happen in the admin area? I’m a little bit confused because you say “the DMS editor fails” (and I don’t really know what that is, as I don’t know this particular theme).

    Regards,
    Tobias

    Thread Starter jackey

    (@jackey)

    Hi Tobias,

    I understand your confusion. I work with PageLines DMS 1.1.1 this is a theme for wordpress that provides a Design Management System.

    I have confirmation of the helpdesk of PageLines that if there is a js error on the page, the Editor will fail to load.

    So with or without the editor this page throws a js error: http://sandbox.melisgs.nl/golfclub-stippelberg.nl/2013/10/1e-brabantse-clubkampioenschappen/
    When I enable the DataTables Javascript Library on the table.

    Regards,
    Jackey

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Jackey,

    thanks for the explanation and for the link! That helps a lot!

    The reason for this JS error in the DataTables JS library is that your table has connected cells (via “colspan” or “rowspan”). Unfortunately, this is not supported by the library.
    You’ll therefore either have to remove all #colspan# and #rowspan# from the table, or not use the DataTables library with this table, and uncheck the “Use DataTables” checkbox.

    Regards,
    Tobias

    Thread Starter jackey

    (@jackey)

    Thanks Tobias,

    I’m relieved it is something simple as that. Will give the PageLines users a heads-up, because it’s an easy mistake to make with show stopping consequences 😉

    Regards,
    Jackey van Melis

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Jackey,

    no problem, you are very welcome.

    There is a warning in place for users who are adding #colspan# or #rowspan# to a table via the buttons below the table input fields. Unfortunately, this can not “catch” users typing those in 🙁
    That’s why I see this problem here from time to time.

    Best wishes,
    Tobias

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

    Thread Starter jackey

    (@jackey)

    Ah.. see it now under the “?” button right at the end. http://cl.ly/image/2S0Y0p2u1l1u

    Won’t forget this anymore… 😉

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, that one, but also another one when using the “colspan” or “rowspan” buttons to insert the keywords (while the “Use DataTables” checkbox is checked).

    Regards,
    Tobias

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

The topic ‘DMS 1.1.1 vs TablePress’ is closed to new replies.