EtchUK / Etch.OrchardCore.Search

Module for Orchard Core for adding site search.
MIT License
9 stars 3 forks source link

Any way that I can modify the default template? #5

Closed tomswatermelon closed 4 years ago

tomswatermelon commented 4 years ago

Nice Module! Any way that I can modify the default template in liquid file overwriting? or any other methods?

Thanks.

peterkeating commented 4 years ago

@tomswatermelon If you've got a custom theme you should be able to override the templates by adding a template to your theme with a matching filename (e.g. SiteSearch.Grouped.liquid).

tomswatermelon commented 4 years ago

thanks for the reply! Due to rushing timelines, we have used the Graphql api to build a custom search function. Your module is definitely one of the missing piece of orchard core, I will come back in the next project 😃

Sent from my iPhone

On Jan 16, 2020, at 4:13 PM, Peter Keating notifications@github.com wrote:

 @tomswatermelon If you've got a custom theme you should be able to override the templates by adding a template to your theme with a matching filename (e.g. SiteSearch.Grouped.liquid).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

peterkeating commented 4 years ago

@tomswatermelon Since this module was developed, Orchard Core has significantly improved the out of the box site search so I believe this module is obsolete and you should use what comes out the box.