WordPress.org

Support

Support » Plugins and Hacks » TablePress » [Resolved] Search All Tables

[Resolved] Search All Tables

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

    @tobiasbg

    Hi Laura,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I’m not aware of an existing solution to this, sorry 🙁
    The JS search/filter function above each table can only search one table, as that’s the data pool that it uses.
    However, TablePress integrates into the regular WordPress search, so that data in tables that is embedded into posts/pages is found through that as well.

    Regards,
    Tobias

    Hi Tobias,

    No problem, I am very happy to be able to use your plugin, it is a great plugin!!

    Just one more quick question. You mentioned that TablePress integrates into the regular WordPress search. I’ve tried this (using the “Search Everything” plugin), but it doesn’t seem to work. Here is an example:

    http://pacbrake.com/test

    If I do a test for Laura for example (in the search box above where it says “sitewide search”) the result does not show the entry in the test table…

    Thank you sooo much!!
    Laura

    Plugin Author TobiasBg

    @tobiasbg

    Hi Laura,

    that’s strange. You shouldn’t actually need “Search Everything” here. It might actually be interfering.

    Can you try without it? And is that test page a regular published page?

    Regards,
    Tobias

    Ah you are right, the Search Everything plugin did interfere with the search. It now finds the table when I search for “Laura”, but I guess it doesn’t just find the one entry with “Laura”, it finds the whole table.

    I guess the reason why it doesn’t work at all on this page…
    http://pacbrake.com/service-support

    …is because this is not a regular text page. Is that correct? Do you think with some custom programming it could be changed so that the tables on the Service and Support page will show up in the regular search results?

    Thank you one more time for being sooo helpful 🙂
    Laura

    Plugin Author TobiasBg

    @tobiasbg

    Hi Laura,

    good to hear that that works! Yes, the search integration will only show the page will the full table (that contained the search term “Laura”). It basically treats the search term in the same way as it if were in the regular page content.

    I don’t really see a way of changing the code so that the Service and Support page will show up though 🙁 Given how that’s using a lot of JavaScript, that would really be enough anyway, as it wouldn’t open the correct menu item yet 🙁
    Sorry for not having a solution here…

    Regards,
    Tobias

    Hi Tobias,

    No problem and thank you again!
    Laura

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    sure! I hope that TablePress is still useful for you, even without this.

    Best wishes,
    Tobias

    Oh absolutely, it is VERY useful 🙂

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    that’s nice to hear! In case you haven’t yet, do you maybe want to rate TablePress here in the plugin directory? Thanks!

    Best wishes,
    Tobias

    I guess there’s no further info on the possibility of a global search for tablepress tables –
    6digitoak.com is a website to enable aircraft techs quickly find a specific reference -the catch is you need to know an approximate idea of what table to look in. We all know the ATA numbers for the different systems -but sometimes you’re not sure what system a specific task is in and I have tablepress set up per individual ATAs -the search for each ATA is great – each ATA is it’s own table -but would love the ability to search all tables on the website at once … maybe in the future there is a possibility for this sort of a feature!! Thanks for the great plugin

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    thanks for your input on this! Unfortunately, I don’t have any news on this. The DataTables JS library can only search one table at a time by default, from what I know. You would have to use its API functions to filter all tables on the page at the same time.

    Regards,
    Tobias

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Search All Tables’ is closed to new replies.
Skip to toolbar