• Resolved asherif

    (@asherif)


    Hello,

    For a while now, i have been puzzled by how difficult it is to add the interaction features (like a search bar or a sorting filter) to some of the tables on my site using this plug in.

    I’ve watched many videos on YouTube on how people do it and it pretty much works as soon as you check the ‘Enable sorting of the table by the visitor.’ & ‘Enable the visitor to filter or search the table. Only rows with the search word in them are shown.’ boxes.

    I checked out this post https://tablepress.org/faq/js-functions-not-working/ and i did get a error stating “Uncaught ReferenceError: jQuery is not defined at (index): 1327.

    The post suggested that i find specific jquery tags and remove them but I could not find these tags in both the functions.php file and headers.php file.

    Genuinely puzzled on how to solve this problem. Any help is appreciated.

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter asherif

    (@asherif)

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the link!

    The cause for this is over-aggressive optimization of JavaScript code on your site, by some ezoic plugin that your site seems to be using. From what I can see, this is creating JavaScript errors on the site, due to which the browser will stop evaluating other plugin’s JavaScript code, including that from TablePress.
    Please try again after temporarily turning that ezoic plugin off.

    Regards,
    Tobias

    Thread Starter asherif

    (@asherif)

    Hey,

    yea that didnt work. After contacting ezoic they told me that they “render static – i.e. we do not change – pages on your back end.” So it can’t be the javascript code from Ezoic.

    Furthermore, i replicated this table on to a different site that does not have ezoic on it and there is still no interactivity on it (ii did check all the boxes)

    Here’s the new example: https://www.cooperkickboxing.com/guides/test/

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    in their reply, they talk about the “back end”, but we are dealing with a front end issue here.

    On your new site, the problem is that the “jQuery” library is not enqueued/loaded for some reason. Can you therefore please try again after temporarily deactivating all other plugins and after switching to a WordPress default theme like Twenty Twenty? That way, we can find what’s causing this.

    Regards,
    Tobias

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

The topic ‘No interactivity on Tablepress table’ is closed to new replies.