Search from database

Hi,

I’m using a database (MySQL) for a certain part of a Kirby site and I need to implement a search. Is there a way to use Kirby search also on data fetched from a database?

https://getkirby.com/docs/cheatsheet/site/search

Thanks!

No, Kirby’s search function is based on pages, so this won’t work with database data (/kirby/core/pages.php)

You could, however, create you own search function as a plugin.

Thank you for your response, I suspected that.