SiteSearch

Adds global search capabilities to October CMS

Back to SiteSearch Support

andy12305
andy12305

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?

OFFLINE
OFFLINE

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

andy12305
andy12305

Ah - I see.

Thanks - that fixed it.

1-3 of 3