0

In TYPO3 7.6 (indexed_search 7.6.0) it was possible to search in a section of the website:

plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl1_43

This does not work any longer in TYPO3 8.6 (indexed_search 8.6) There is no alternative described in the doumentation.

Has anybody an idea how to realize this?

Markus Dübbert
  • 213
  • 2
  • 12

1 Answers1

1

For TYPO3 8.7 use this:

plugin.tx_indexedsearch.settings.defaultOptions.sections = rl1_43
chris
  • 2,109
  • 2
  • 23
  • 33
  • But what is plugin.tx_indexedsearch.settings.rootPidList ment to be used for? – JKB Dec 03 '19 at 22:33
  • This restricts the search to page level 1 with page id 43. – chris Dec 05 '19 at 17:05
  • @JKB In the [documentation](https://docs.typo3.org/c/typo3/cms-indexed-search/master/en-us/Configuration/TypoScript/Index.html#rootpidlist) there is a notice about `rootPidList`. _By “root-page” we mean a website root defined by a TypoScript Template!_. It can't be used for 'normal' pages. – Ludwig Sep 11 '20 at 14:06
  • @Ludwig: yes, but can‘t figure out its sense, as „sections“ does nearly the same... – JKB Sep 11 '20 at 15:55
  • @JKB: As you already said, nearly. I think that `rootPidList` is only needed in a multi domain installation. There it can be used to control from which domain (root line) it is allowed to get search results from. Sections are used by the site visitor to filter the results. – Ludwig Sep 12 '20 at 21:15
  • @Ludwig: That’s funny, in my case (multidomain) it was just vice versa ;) – JKB Sep 12 '20 at 23:55