[TYPO3] solved: indexed_search results language

Jochen Stange derstange at gmx.de
Thu Aug 24 16:38:15 CEST 2006


Hi.

Sometimes one can sole one's own problems.
This setting has to be configured in order to limit results to ONE language:

       plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang

The default seems to be:
        plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = -1

which means that ALL languages are searched.
This can be altered by having a setup such as:

[globalVar = GP:L = 1]
  # ENGLISH where L = 0 is another language; in my case: German
  config.sys_language_uid = 1
        config.language = en
        config.locale_all = en_EN
        config.htmlTag_langKey = en
        plugin.tt_news.pid_list = 43
        plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
[global]

which checks for the language and sets the _DEFAULT_PI_VARS.lang 
accordingly.

Cheers. Jochen 





More information about the TYPO3-english mailing list