Gravatar for

Question by nickwau, Jan 12, 2015 7:50 AM

Customize no result text to html structure


Is it possible to change the text on the result page that is displayed when no results are obtained ("Your query did not match any documents.") to a html part that contains for example a list with items?


1 Reply
Gravatar for

Answer by Vincent Séguin, Jan 12, 2015 7:52 AM


You can refer to this question : that contains what you asked for :)

Gravatar for

Comment by nickwau, Jan 12, 2015 8:13 AM


Does the answer to that question also counts if I want to display a structure like this:

  • Item 1
  • Items 2

instead of just a string like this: "This is my custom error message."

Ask a question