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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Are you refering to the DataTables Column Filter Widgets Extension here? That can indeed split search terms in the cells, with an extra Shortcode parameter, like

    [table id=123 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_separator="," /]

    Regards,
    Tobias

    Thread Starter phil81

    (@phil81)

    Hi Tobias,

    thanks a lot for your fast reply.

    Exactly, I use the Column Filter Widget Extension. But I also exclude some rows and I’m not sure how to use the terms, sorry.

    Is that right?

    [table id=3 / datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,8,9 / datatables_columnfilterwidgets_separator=Games & Apps, Corporate Voices, E-Learning / Education; /]

    Greetings
    Philipp

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Philipp,

    this should work:

    [table id=3 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,8,9 / datatables_columnfilterwidgets_separator="," /]

    if you separate the individual terms with a comma.

    Regards,
    Tobias

    Thread Starter phil81

    (@phil81)

    Hi Tobias,

    thanks for your help. I used this Code, but nothing changed.

    [table id=3 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,8,9 / datatables_columnfilterwidgets_separator=Games & Apps, Corporate Voices, E-Learning & Education, Corporate Voices, Telefonansagen /]

    Please see the attached Picture of the table in Post 1. My aim is to show e.g. three terms in a cell like “Games & Apps, Corporate Voices, Telefonansagen” but every of this terms should be listed as single Term in the search bar above and not as one term.

    Perhaps I used the Code in a wrong way?

    Thanks & Greetings
    Philipp

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Philipp,

    please try the code that I posted:

    [table id=3 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,8,9 / datatables_columnfilterwidgets_separator="," /]

    Your code will not work.

    Regards,
    Tobias

    Thread Starter phil81

    (@phil81)

    Good Evening Tobias,

    thanks for your patience. Now I inserted your code like you wrote, but it does not work. Please have a look at the picture link below. Do you have any other idea?

    https://bestvoices.de/wp-content/uploads/2016/01/tablepress.jpg

    Thanks & Greetings
    Philipp

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Philipp,

    it looks like, the entries are not actually separated by only commas, but also by line breaks?

    Additionally, there seem to be extra quotation marks or HTML entities " in the “Custom Command”?

    Regards,
    Tobias

    Thread Starter phil81

    (@phil81)

    Hello Tobias,

    thanks for your patience, that worked. It was my mistake course I missunderstood you. One last question:

    Now I have the same search terms more than once.Is there a possibility to list the same search term e.g. “corporate voices” only once?

    Please see the new picture: https://bestvoices.de/wp-content/uploads/2016/01/tablepress.jpg

    Thanks & Greetings
    Philipp

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Philipp,

    good to hear that it’s working now! ??

    I think that the terms are in the list twice because the separator is actually not just a comma, but a comma and a space. So, please try this new Shortcode:

    [table id=3 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,8,9 datatables_columnfilterwidgets_separator=", " /]

    (which also removes a wrong / in the middle).

    Regards,
    Tobias

    Thread Starter phil81

    (@phil81)

    Hi Tobias,

    now it works!! Fantastic, thank you so much for your great support.

    Have a nice day!

    Philipp

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Show entry in row but disable it in the search bar’ is closed to new replies.