Hi, I am using Tri-pane navigation (Flare2017) and wondering how to display a message like "Sorry, no results found" when actually no searching results are found, or display a message like " x results are found" when there are x results are found.
Thanks,
Wei
Displaying message when no search results found
-
- Jr. Propeller Head
- Posts: 5
- Joined: Sun Nov 05, 2017 7:29 pm
Re: Displaying message when no search results found
By default, the search will display a message like this:
If you want to change this text, you can do that in the skin; UI Text > Search headingYour search for "something" returned 0 result(s).
-
- Jr. Propeller Head
- Posts: 5
- Joined: Sun Nov 05, 2017 7:29 pm
Re: Displaying message when no search results found
Dave Lee wrote:By default, the search will display a message like this:If you want to change this text, you can do that in the skin; UI Text > Search headingYour search for "something" returned 0 result(s).
Thanks Dave, but i didnt see the return like "Your search for .. returned x result(s)" when the output is HTML5-tripane. If no results are found, by default it shows a blank page. It seems only works for top-navigation. Can tripane do the same thing?
Re: Displaying message when no search results found
Then I'm guessing there's a problem with your skin or project.laurence_hsia wrote:Dave Lee wrote:By default, the search will display a message like this:If you want to change this text, you can do that in the skin; UI Text > Search headingYour search for "something" returned 0 result(s).
Thanks Dave, but i didnt see the return like "Your search for .. returned x result(s)" when the output is HTML5-tripane. If no results are found, by default it shows a blank page. It seems only works for top-navigation. Can tripane do the same thing?
By default, you would see a message like this example (link is to Flare 10's own help):
https://help.madcapsoftware.com/flare10 ... rch-banana
-
- Jr. Propeller Head
- Posts: 5
- Joined: Sun Nov 05, 2017 7:29 pm
Re: Displaying message when no search results found
Is it because that language of the project is Chinese?
-
- Jr. Propeller Head
- Posts: 5
- Joined: Sun Nov 05, 2017 7:29 pm
Re: Displaying message when no search results found
OK, i got it. The message shows up by default when the language is English. I copied the value of search heading from English version to Chinese, and modified the message but keeping {total_results} and {query}
Thanks Dave
Thanks Dave