SiteSearch

Adds global search capabilities to October CMS

← Back to SiteSearch Support

I've copied the folder 'search_results' to /themes/my_theme/partials/search_results but the modifications I've made to the way the results are displayed aren't being used.

Is there a setting I need to make to tell October to use my files rather than the default markup?

Hi andy12305

Make sure to name the folder searchResults without the underscore and with a capital R.

The partial folder name has to be the same as the component's name or alias:

// Place markup in /themes/your_theme/partials/searchResults
[searchResults]
resultsPerPage = 10
// Place markup in /themes/your_theme/partials/resultsAlias
[searchResults resultsAlias]
resultsPerPage = 10

Last updated

Ah - I see.

Thanks - that fixed it.

1-3 of 3