WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Load a page with a pre-searched table (7 posts)

  1. brianalex
    Member
    Posted 9 months ago #

    Is it possible to have hyperlinks on a page which open a tablepress table pre-searched eg all rows related to dogs, cats, horses etc. A direct link like this would be very useful to me. Many thanks for a wonderful product.

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

  2. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    thanks for your question.

    Yes, for that you could use the Row Filter Extension from http://tablepress.org/extensions/row-filter/ in combination with the http://tablepress.org/extensions/shortcode-filter-get-parameter/ Extension.
    This allows you to show a filtered table, based on a parameter in the URL.

    Regards,
    Tobias

  3. brianalex
    Member
    Posted 9 months ago #

    Thank you - I have activated both plugins, but I am unclear as to the exact url I should use? I tried http://sostalisman-retailer.co.uk/catalogue/?table_filter=clip but there was no filtering. The table number is 1, but I couldn't see how to incorporate that in the hyperlink url I will be using.
    Can you please advise?

  4. brianalex
    Member
    Posted 9 months ago #

    I think I have it now.

    I changed [table id=1 /] on the catalogue page to [table_filter id=1 /] and then used the url http://sostalisman-retailer.co.uk/catalogue/?table_filter=clip

    Thank you again

  5. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    no problem, you are very welcome! :-) Good to hear that this helped!

    Yes, that is exactly the way :-)

    Best wishes,
    Tobias

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

  6. brianalex
    Member
    Posted 9 months ago #

    Is there a way to further refine the search?

    eg is it possible to return rows that feature cats and dogs but not horses?

    Rating TablePress now ...

  7. TobiasBg
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    not really :-( Sorry.
    TablePress does not have sophisticated logical operators like that. As you can see in the example at http://tablepress.org/extensions/row-filter/ some "AND" and "OR" is possible, but there's no "NOT" for example.

    Regards,
    Tobias

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.