{bb_searchresults} Print

  • Modules, Search
  • 0

The {bb_searchresults} module tag displays search results from a Search form. This module can be placed on the Web Page or Page Template as the search box or on a completely different Web Page. In the second case the "results" parameter of the search module needs to be updated so that it redirects the visitor to the Web Page this module is inserted on.

This module supports Liquid.

Syntax

{bb_searchresults emptyMessage="No Search Results Found"}

Parameters

  • emptyMessage - Use this parameter to display custom text when there is no results from a users search.

Liquid Tags

  • {{searchItemId}} – Renders the system generated ID.
  • {{searchItemName}} – Renders a complete hyperlink to the relevant Web Page, Blog Post, Data Collection Item, etc.
  • {{searchItemNameUrl}} – Renders only the URL to the relevant Web Page, Blog Post, Data Collection Item, etc.
  • {{searchCounter}} – The number of the search result.
  • {{searchImageURL}} – (Future release)
  • {{searchItemType}} – (Future release)
  • {{searchItemNameNoLink}} – (Future release)
  • {{searchItemDescription}} – (Future release)
  • {{searchCreatedWhen}} – (Future release)
  • {{searchLastUpdatedWhen}} – (Future release)
  • {{searchMatchedOn}} – (Future release)
  • {{searchRelevance}} – (Future release)
  • {{searchOccurrence}} – (Future release)

 


Was this answer helpful?

« Back

Powered by WHMCompleteSolution