Skip to main content
Skip table of contents

Channel: Now Search Results Text

Display a text with different variables when the search returns no results.

Variables

  • response.searchString

  • request.filter

  • filterCount

CODE
"missingResultsDisplayPatterns": {
	"en": "There is no content found using your search string <b>{{response.searchString}}</b>{% if request.filter %}{% assign filterCount = 1 %}{% if request.filter.kind == 'AndFilter' %}{% assign filterCount = request.filter.filters.length %}{% endif %} (with {{filterCount}} active filter{% if filterCount > 1 %}s{% endif %} in place){% endif %}<br /><br />You may do the following:<ul>{% if request.filter %}<li>Remove the filters on the right</li>{% endif %}<li>Switch to another channel</li><li>Change your search string</li></ul>",
	"de": "Es wird kein Inhalt mit dem Suchbegriff <b>{{response.searchString}} gefunden </b>{% if request.filter %}{% assign filterCount = 1 %}{% if request.filter.kind == 'AndFilter' %}{% assign filterCount = request.filter.filters.length %}{% endif %} (with {{filterCount}} active filter{% if filterCount > 1 %}s{% endif %} in place){% endif %}<br /><br />Sie können folgendes tun:<ul>{% if request.filter %}<li>Entfernen Sie die Filter auf der rechten Seite</li>{% endif %}<li>Umschalten auf ein anderes Channel</li><li>Ändern Sie Ihre Suchbegriffe</li></ul>",
	"x-default": "There is no content found using your search string <b>{{response.searchString}}</b>{% if request.filter %}{% assign filterCount = 1 %}{% if request.filter.kind == 'AndFilter' %}{% assign filterCount = request.filter.filters.length %}{% endif %} (with {{filterCount}} active filter{% if filterCount > 1 %}s{% endif %} in place){% endif %}<br /><br />You may do the following:<ul>{% if request.filter %}<li>Remove the filters on the right</li>{% endif %}<li>Switch to another channel</li><li>Change your search string</li></ul>"
},


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.