Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

No Results Found message in Custom Results Template
Last Post 03/26/2013 12:06 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Bryan Beswick
New Member
New Member
Posts:25


--
03/25/2013 10:23 PM
I found where to alter the templates. I like the look of the simple "Search Results" template view but I want it to display a message to users if nothing was found. I can't figure-out how to do that; I see where you can do conditions but I don't see how to test whether any items were found.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/26/2013 10:55 AM
Good question. I'm not sure that is possible. There is no property for nr of results. So you can't compare it to a value of 0 and then branch to a template file with the nice message. I'll make a note to see if this can be added.

Peter
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/26/2013 11:37 AM
It'll be available as [query:nrrecords] in 6.1.5.

Peter
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/26/2013 12:06 PM
Sorry, I spoke too soon. That didn't work. But I found a way that works which will be shown in 6.1.5's search results template.

Peter
You are not authorized to post a reply.