Skip to content

← Back to Notes on Kirby CMS

Searching

Kirby comes with a native search function that’s easy to invoke, but which has a few limitations:

You can supply your own implementation of the search component with tweaks for the first two shortcomings. For example, a couple of calls to transliterator_transliterate('Any-Latin; Latin-ASCII', $str) in the right spots normalizes these accented letters to their base characters. But in general, fixes of this kind entail maintaining a close duplicate of the original implementation.

A better solution is a dedicated plugin, among which the SQLite-based Kirby Loupe is the easiest to set up. Justus Kraft has a tutorial for it.