Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Displaying a message when no search results found
I simply use <code>There were <txp:search_result_count /> for “<txp:q />”</code> which tells them there were “x” results found for “search terms”, so if no results were found it says so.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Displaying a message when no search results found
Or look here (chh_if_data). If the search returns empty, this will output any message you want.
Offline