[TYPO3-english] Restrict index search to section
Ulrich Lorenz PHZ Luzern
lorenz.ulrich at phz.ch
Mon Feb 15 14:40:03 CET 2010
Hi Mike
I think what you need is
# limit search to part of the site "rl" = rootlevel + level number (1
for first level) + '_' + pageid
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl1_3
So this example would limit search on all pages of the rootline the
typoscript is placed to contents in rootline of PID 3.
Lorenz
> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of PIT Solutions
> Sent: Monday, February 15, 2010 2:06 PM
> To: TYPO3 English
> Subject: Re: [TYPO3-english] Restrict index search to section
>
> Hi Mike,
> IMHO its possible by providing config.index_enable =
0
> in the TS setup of root page. Then whichever sections you need to
> search, put config.index_enable = 1 in the TS setup of those parent
> pages.
>
>
> Regards,
> Aravind
>
>
>
> ________________________________
> From: mike <mij at llgc.org.uk>
> To: typo3-english at lists.typo3.org
> Sent: Mon, February 15, 2010 5:59:16 PM
> Subject: [TYPO3-english] Restrict index search to section
>
> Dear all,
>
> Is it possible to restrict index search (on typo3 4.1) for a
particular
> section? So that the search results only display for that section and
> not the whole site.
>
> Thanks,
>
> Mike
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list