[TYPO3] Indexed Search Engine

Andreas Otto andreas.otto at dkd.de
Tue Oct 30 11:54:13 CET 2007


Hi Miguel,

Miguel Angel Calleja Lázaro wrote:
> When I do a search it appears to me results in spanish and englins, for
> example the same page but in spanish and english. I only want results in
> specified language. How can I solve it? thanks

Here is an example for your TS template:

# Plugin configuration
plugin.tx_indexedsearch {
        show {
                rules = 0
                L1sections = 0
                advancedSearchLink = 0
                resultNumber = 1
        }
        _DEFAULT_PI_VARS {
                type = 0
                group = sections
                lang = 0 # Search in default language only
                rootPidList = 6
        }
}

# Search in sys_language_uid 1 only
[globalVar = GP:L = 1]
plugin.tx_indexedsearch {
        _DEFAULT_PI_VARS {
                lang = 1
        }
}
[global]


It is all explained in the manual of indexed_search have a look at it again
in order to understand the configuration from my example.


Cheers,
Andreas




More information about the TYPO3-english mailing list