• Resolved LYNN1118

    (@lynn1118)


    Hi – I have a site that’s running on an internal server, so I can’t give you a page reference, but I have a TablePress table on a page that was made using an uploaded CSV file. The file contains accented characters in last names, as in López, but TablePress can’t search words with accents. In other words, if I type “lopez” in the search box, it doesn’t return any results, because the plugin can’t associate that with “lópez.” I tried loading the sorting plugin, but that doesn’t help. Any suggestions?

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    No, sorry, I’m not aware of an easy to use solution here ?? The search does exact string comparisions, which is why those in your example are different.

    One workaround might be to add the versions without accents to an extra column (hidden via CSS code) of the table. That way, it would also be found, but you would have a bit more work when adding the data.

    Regards,
    Tobias

    Thread Starter LYNN1118

    (@lynn1118)

    Thanks – don’t think I’m savvy enough with CSS to hide a column but it’s a good suggestion and I can try to figure it out.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    to hide a column, just add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-123 .column-3 {
      display: none;
    }

    with the correct table ID and column number.

    Regards,
    Tobias

    Thread Starter LYNN1118

    (@lynn1118)

    Thank you!

    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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘sorting table with accented characters’ is closed to new replies.