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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The searchbox in the upper right corner of a table can not be placed on another page, as it works with JavaScript.
    It is however possible to use the TablePress Row Filter Extension and create filter search field on a different page with that. Is that what you tried? That could explain that problem with the accented character, as it performs some sanitization of the search string.

    Regards,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, I just realized that you had asked about this before at https://www.ads-software.com/support/topic/search-box-in-an-other-page

    So, you are using that solution that I mentioned, and that explains why the accent is not working. To fix this, you can try to edit the file “/tablepress-shortcode-filter-get-parameter/tablepress-shortcode-filter-get-parameter.php” where you’ll have to change the line

    $filter_term = preg_replace( '#[^a-z0-9]#i', '', $filter_term );

    to

    $filter_term = preg_replace( '#[\'"]#', '', $filter_term );

    Regards,
    Tobias

    Thread Starter valeriedore

    (@valeriedore)

    Hi,
    Thanks! That’s working!

    Other question, can we also search with no accent? If someone forgot to put the accent, it be nice if they can find the word.

    Thanks again,
    Valerie

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Valerie,

    good to hear that this helped!

    For your new question: No, sorry, that’s not possible right now ??
    I hope that TablePress and the filtering are helpful, regardless of this.

    Best wishes,
    Tobias

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search box on an other page’ is closed to new replies.