{bb_search} Print

  • Modules
  • 0

The {bb_search} module is used to display a Search Form on a website to allow users to search the site's content. This module can be placed on a Web Page, Landing Page, Page Template or Content Holder. The search results can be displayed on the current page as the Search Form or the user can be redirected to a custom search results page. See {bb_searchresults} module for displaying search results.

This module DOES NOT support Liquid.

Syntax

{bb_search source="" resultsUrl="" useSearchIcon="true|false" searchButtonText="Search" placeholderText="" formClass="" inputClass="" buttonClass=""}

Properties

  • source - (Required) This parameter identifies the search from which site content to pull results to display on a page. Setup your search name on the Content > Modules > Search section.
  • resultsUrl - (Required) Use this parameter to control the redirect for the Web Page where the search results are displayed. Type in a relative path to a WebPage. For example: resultsUrl="/search-results-page"
  • useSearchIcon - True|false parameter used to include the icon in the search button. Default is "false".
  • searchButtonText - This parameter is used to customize the search button text. Default text is "Search".
  • placeholderText - This parameter is for custom placeholder text that you want to display within the search field.
  • formClass - This parameter is for specifying a CSS class to the rendered <form> element.
  • inputClass - This parameter is for specifying a CSS class to the rendered <input> field element for the search text box.
  • buttonClass - This parameter is for specifying a CSS class to the rendered submit <button> element.

 

 

 


Was this answer helpful?

« Back

Powered by WHMCompleteSolution