Skip to content

SearchComponent

Jens Kooij edited this page Mar 25, 2018 · 2 revisions

SearchComponent

Overview

The FormComponent is used for handling a form.

Sitemap Compatible Application Compatible Parameters
true true searchParameterName, searchResultsParameterName,

Parameters

searchParameterName

[Optional]

The GET parameter that will be used to perform the search query on. By default q.

searchResultsParameterName

[Optional]

By default searchResultsParameterName is set to "searchResults", meaning that in the template the variable $searchResults contains the search results.

Example sitemap item

Title URL Regex Component Template Parameters
Search page /search false SearchComponent base searchParameterName: "q"
searchResultsParameterName: "results"

Parent

CachableBaseComponent

Clone this wiki locally