[TYPO3] Indexed search - results in one language only

Bas van der Togt b.vandertogt at profinit.com
Tue Jul 10 00:19:17 CEST 2007


Hi Racco,

Place this in your TS:

plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = "id of language"

Example:
# English Lanuage
config.linkVars = L
config.sys_language_uid = 0
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0

# Swedish Lanuage
[globalVar = GP:L = 1]
config.sys_language_uid = 1
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
[end]

Kind regards,
Bas

Rakowski Tomasz schreef:
> Hi!
> 
> How to instruct indexed search to search for records of current language 
> only? At the moment I get all records (all languages) which contain 
> searched phrase.
> 
> 
> thx
> racco


More information about the TYPO3-english mailing list