Indexed Search

1.5.2. TypoScript

[Still missing  the major  parts here. Just use the object browser for now since that includes all options]

Property:

Data type:

Description:

Default:

templateFile

resource

The template file, see examples in typo3/sysext/indexed_search/pi/.

 

show.forbiddenRecords

boolean

Explicitely display search hits although the visitor has no access to it.

Notice: This behavior was different in TYPO3 < 4.0.

 

show.resultNumber

boolean

Display the numbers of search results.

Notice: This behavior was different in TYPO3 < 4.0.

 

show.advancedSearchLink

boolean

Display the link to the advanced search page.

1

search.rootPidList

list of int

A list of integer which should be root-pages to search from. Thus you can search multiple branches of the page tree by setting this property to a list of page id numbers.

If this value is set to less than zero (eg. -1) searching will happen in ALL of the page tree with no regard to branches at all.

 

Notice that by "root-page" we mean a website root defined by

a TypoScript Template! If you just want to search in branches of your site, use the possibility of searching in levels.

The current root-page id

search.detect_sys_domain_records

boolean

If set, then the search results are linked to the proper domains where they are found.

 

search.detect_sys_domain_records.target

string

Target for external URLs.

 

search.mediaList

string

Restrict the file type list when searching for files.

 

search.defaultFreeIndexUidList

string

List of Indexing Configuration Uids to show as categories in search form. The order determines the order displayed in the search result.

 

specConfs.[pid]

-

"specConfs" is an array of objects with properties that can customize certain behaviours of the display of a result row depending on it's position in the rootline. For instance you can define that all results which links to pages in a branch from page id 123 should have another page icon displayed. Of you can add a suffix to the class names so you can style that section differently.

 

Examples:

If a page "Contact" is found in a search for "address" and that "Contact" page is in the rootline "Frontpage [ID=23] > About us [ID=45] > Contact [ID=77]" then you should set the pid value to either "77" or "45". If "45" then all subpages including the "About us" page will have similar configuration.

If the pid value is set to 0 (zero) it will apply to all pages.

 

Please see the options below.

 

specConfs.[pid].pageIcon

->IMAGE cObject

Alternative page icon.

 

specConfs.[pid].CSSsuffix

string

A string that will be appended to the class-names of all the class-attributes used within the result row presentation. The prefix will be like this:

 

Example:

If "...CSSsuffix = doc" then eg. the class name "tx-indexedsearch-title" will be "tx-indexedsearch-title-doc"

 

[tsref:plugin.tx_indexedsearch]

To top


Valid XHTML 1.0!