DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Configuration

Constants

All constants are located as:

plugin.cb_indexedsearch_autocomplete.*

Example
 plugin.cb_indexedsearch_autocomplete {
    autoSubmit = 1
    maxResults = 10
}

altResultLabel

Property

altResultLabel

Data type

string

Description

Alternative label for 'result' in the suggestions. If no label should be printed pass empty value.

Default

result

altResultsLabel

Property

altResultsLabel

Data type

string

Description

Alternative label for 'results' in the suggestions. If no label should be printed pass empty value.

Default

results

autoSubmit

Property

autoSubmit

Data type

boolean

Description

Determines whether the search query is submitted after selecting a recommendation or just filled into the search box.

Default

1

jQueryLoadedExternally

Property

jQueryLoadedExternally

Data type

boolean

Description

If jQuery library is loaded outside of this plugin (page global) then set this trigger to true, otherwise to false.

Default

0

cssLoadedExternally

Property

cssLoadedExternally

Data type

boolean

Description

If predefined css shall not be loaded set this trigger to true, otherwise to false.

Default

0

jQueryFile

Property

jQueryFile

Data type

string

Description

Path and filename of the jquery library. If not set the plugin will use its internal version of jQuery located in the res/ directory. If t3query is installed and loaded this parameter is skipped and the t3query library is loaded.

Default

cb_indexedsearch_autocomplete.js

maxResults

Property

maxResults

Data type

integer

Description

Number of suggestions in the result list.

Default

unlimited

noConflictMethod

Property

noConflictMethod

Data type

boolean

Description

Sets jQeury into it's no conflict mode, so that this extension can cooperate with other JS-libraries such as Prototype

Default

0

onlySearchPage

Property

onlySearchPage

Data type

boolean

Description

Plugin code is only inserted on pages with a indexed_search element.

Default

0

autoResize

Property

autoResize

Data type

boolean

Description

Enables automativ resize function for width adjustment of the suggestion list

Default

0

Setup

All configuration options described in the Constants Block may also be set in the setup directive.

All configuration options are located as:

plugin.cb_indexedsearch_autocomplete.*