This project is read-only.

Customise Search Results Page

Topics: Core, Customizing Orchard
Oct 31, 2014 at 2:21 AM
I have set up search but I'm having trouble styling it.

Setting it up has just involved activating Orchard.Search, Orchard.Indexing and Lucene.

I'm using the search widget but I have styled the up nicely in the sidebar.

Now I want to style the search results experience, however:
  • When there is no search term (eg /Search or /Search&q=) then I get a blank page with just "Search" at the top. I want to display a message saying something like "nothing found? contact us". Using the Shape Trace tool I don't see a search page shape that I can override.
  • When there are no results I just get "zero results" which doesn't seem to have a shape that can be overridden.
  • When I get a list of results its presented as a list but there doesn't seem to be a shape that surrounds the list that I can override to take control of the search results.
Is the Orchard.Search module missing this functionality? Or am I a total n00b?
Oct 31, 2014 at 2:30 AM
Marked as answer by rtpHarry on 11/6/2014 at 3:23 PM
Nov 6, 2014 at 10:58 PM
Thats perfect, thanks, I didn't realise you could override other modules using that directory style notation!