[TYPO3-english] Indexed Search Engine multilanguage showing only default resoults
Toni Andric
toni.andric at openit.hr
Tue Sep 3 10:13:14 CEST 2013
Hey guys,
i could realy use some help.
I am using Indexed search engine and its works fine, i get all the
resoult i search for BUT only in default language. I have set the
globals for Eng (1) and Ger (2) like this:
[globalVar = GP:L=2]
page {
config.sys_language_uid = 2
config.language = de
config.htmlTag_langKey = de
config.locale_all = de_DE
}
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 2
[global]
But i still get default search resoults even when on German version and
i dont get any other language.
My web tree is single one with localizations and when i check the "Info"
i can see that the pages are indexed in german and english.
I placed "Searchbox" with this TS:
lib.searchbox = COA_INT
lib.searchbox {
10 = TEXT
10.typolink.parameter = {$plugin.tx_indexedsearch.searchUID}
10.typolink.returnLast = url
10.wrap = <!-- searchbox begin --><form name="search" id="search"
class="" action="|" method="post"><input type="text"
name="tx_indexedsearch[sword]" id="searchQuery" value="" /><input
class="hidden" type="hidden" name="tx_indexedsearch[_sections]"
value="0" /><input type="hidden" name="tx_indexedsearch[pointer]"
value="0" /><input type="hidden" name="tx_indexedsearch[ext]" value="0"
/><input type="hidden" name="tx_indexedsearch[lang]" value="0" /><button
class="submit" name="tx_indexedsearch[submit_button]" type="submit"
value="search"><i class="icon-search"></i></button></form><!-- searchbox
end -->
# if you need here comes userFunc for exampe ajax search
20 = USER
20.userFunc = user_functionname
20.userFunc < plugin.name
20.userFunc.cssId = searchQuery
}
and have this for indexed plugin:
plugin.tx_indexedsearch{
show.rules = 0
show.advancedSearchLink = 0
templateFile = fileadmin/tx_indexed_search.html
_DEFAULT_PI_VARS.results = 99
_DEFAULT_PI_VARS.lang = 0
}
Could the TS version of searchbox be the problem, or anything else i
state here?
Thx in advance.
--
Ugodan dan
--
Toni Andrić
Open IT d.o.o.
Splitska 26
47000 Karlovac
--
Tel: +385(0)47 493 413
GSM: +385(0)91 406 2566
E-mail: toni.andric at openit.hr
--
www.openit.hr
More information about the TYPO3-english
mailing list