• Resolved TodayOnly

    (@todayonly)


    Hi Tobias,

    You are like Steve Wozniak, a hero for the digital. I love how you show great support, only depend on donations and seems to solve all problems.

    I tried Googling, because I don’t want to steal your time, but couldn¨t find a similar issue before.

    So I’d like to make a loan comparison feature such as in https://money.gocompare.com/loans#/. When you click their buttons with
    Personal, Car, Guarantor, Secured, Peer to Peer the table filters through a URL change.

    This should be possible to do with TablePres & Row Filter Extension and Shortcode Filter from GET parameter. However, I am struggling finding which URLs to use, to filter on words in only a specific column and and which table shortcode to enter.

    https://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Unfortunately, I can’t really think of an easy way for achieving what you mean with the mentioned Extensions. There would also be several drawbacks, like having to constantly reload the page, not being able to easily use multiple filter terms, etc.

    Instead, this filtering should be done via JavaScript, e.g. by using the API of the DataTables JS library. One idea could be to use a dropdown like the one that you can get from https://tablepress.org/extensions/datatables-columnfilterwidgets/ , or to add custom buttons, somehow based on https://tablepress.org/extensions/datatables-button-filter/

    Regards,
    Tobias

    Thread Starter TodayOnly

    (@todayonly)

    Hi,

    Thank you for the reply.

    The Datatables button filter seems to solve my problem.

    Which shortcode should I use for only filtering one column, and what’s the button code for resetting all filters?

    Thank you again

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    unfortunately, the DataTables Buttons Extension is not sophisticated 🙁 It does not yet offer an easy way to reset the filter or just filter in one column. It’s more a proof of concept that one can use as a starting point for interaction between custom HTML controls (buttons), JavaScript code, and the API of the DataTables JS library.

    Sorry for having a complete solution available, here.

    Regards,
    Tobias

    Thread Starter TodayOnly

    (@todayonly)

    Hi Tobias,

    Thank you for your respond.

    Would you be available helping me developing this?

    I would compensate you, plus you could use it to strengthen the product’s usability.

    Regards,
    Erik

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Erik,

    I’m really sorry, but unfortunately, I’ll have to disappoint you here. As I’m not professional web developer or freelancer, I just don’t have time for custom work like this. My regular day job and TablePress as a big and time-consuming hobby already keep me very busy.

    You could instead maybe try http://jobs.wordpress.net/ or http://directory.codepoet.com/ if you don’t know a different developer already. Unfortunately, I don’t have experience with these platforms.

    Regards,
    Tobias

    Thread Starter TodayOnly

    (@todayonly)

    Hmm okey.

    Tobias, is there any other solution you can see for filtering different columns, using buttons?

    Thankful for your help

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    not without custom JS code that uses the mentioned API, I’m afraid 🙁
    There’s just no pre-built solution for this yet.

    Regards,
    Tobias

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

The topic ‘Sort table by url in multiple columns’ is closed to new replies.