grav-plugin-simplesearch
grav-plugin-simplesearch copied to clipboard
Multiple field ?
Hy i have only began to work with Grav and it's verry promissing ! while i have set the blog system it auto-add simplesearch, thats a good thing but for my project i want to have that sort of form : 1 field for text input (like the plugin provide) and 2 or 3 others fields (like taxonimies) that allow a more accurate search
you can see an example :
i have seen this plugin (https://github.com/MaZderMind/grav-plugin-urlparamfilter) but i don't know if it's possible to make all that work together if it's needed ?
Thanks in advance for all your work, and i really hope all that is possible :) !
This plugin provides text search on the site.
It would be nice to allow filtering by some kind of taxonomy, but currently this is not a feature provided.
Marking as an enhancement.
Thank's for your rapid response ! If you have a idea to "how create this functionality" i'm all ears !
You can change the plugin to do anything, but requires some knowledge of how the plugin works, so maybe you can start by forking the plugin, tweaking the functionality by first adding the select boxes in the search form, and then see how to grab those values and filter the results accordingly - no idea what's your PHP expertise so how complex/doable this can be varies.
I'm good in php i have already work with Smarty (pretty same syntaxe) but it's my first try with Grav so i don't understant verry well the relation between .twig .dm ..... so testing it is !