![]() |
| > Home > Documentation > Latest documentation > Interchange tags > search-region |
|
search-regionSummary
The following parameters are also available to this tag:
DescriptionOnce a search has completed, there needs to be a way of presenting the output. By default, the "search" SpecialPage is used. This is set to "results" in the Standard ecommerce demo, but any number of search pages can be specified by using the mv_search_page search parameter to set the target page for each search. On the "results" page, some special Interchange tags are used to format the otherwise standard HTML. See the Looping tags and sub-tags category. The basic structure of a "results" page looks like this:
The order in which the results are displayed can be influenced by either the sort parameter, or by using the [sort] pseudo-tag. ParametersargsortSearch results can be sorted into a specific order using this parameter. This parameter expects sort options to be specified in a specific manner, as explained here. formYou can use this to pass one or more form variables in the pagination links of a [more-list]. For example, use form="foo=bar" to include "foo=bar", as a URI argument in each of the pagination links.
labelIf you are setting up multiple simultaneously-active search objects within a page, then this allows you to distinguish between them. The default label is "current". Most people will not need this. more_templateOverride the default display template value, used by the [more-list] sub-tag. prefixSetting "prefix=foo" overrides the "PREFIX" used by the various [PREFIX-*] sub-tags, and also by the [PREFIX-quote] container. The default "prefix" is "item". safe_dataSetting "safe_data=1" allows the [sql-data] and [sql-param] sub-tag (etc.) to return values containing the "[" character.
See also
|
| Home | Legal nonsense | Privacy policy | Contact us |