[TYPO3] Indexed search - results in one language only

Rakowski Tomasz raczek at open.infi.pl
Tue Jul 10 13:56:14 CEST 2007


Hello!

Thx for your hint!
But what if I use default language as my main language and have only one 
  foreign language in system;
Writing plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0 gives no effect.


greetings
racco


Bas van der Togt pisze:
> 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