[TYPO3] indexed search, no work properly!

Jody Cleveland Cleveland at winnefox.org
Fri Jun 30 00:36:24 CEST 2006


> I've never needed to set up indexed search this way, but what about
> the "PIDinRootline" condition [1]? In the TSref it gives the following
> example--note that it tests if the current page IS one of the named
> pages OR if it's a child of one of the named pages:
> 
> "This changes something with the template, if the page viewed is or is
> a subpage to page 34 or page 36
> 
> [PIDinRootline = 34,36]"

Ok, I think I'm getting close...

On a test site I have:
http://www.wals.lib.wi.us/typo4/index.php?id=43

I setup 2 pages. One called search all and one called search one. Search
all is setup to search the entire site. Search one is setup to only
search the Visions page. On the Search All page, I created an extension
template (under web-template). In the setup of that, I put in this line:
plugin.tx_indexedsearch.search.rootPidList = 43

Which points to the root page of the site.

In the Search One page, I did the same thing, but instead put in this:
plugin.tx_indexedsearch.search.rootPidList = 49

Search all works fine. I do a search of the word 'fishstick' which I
purposely put in on two pages. One of those pages is Visions. Search
one, however, comes back with zero results. Is there something else I
should be doing?

(id 49 is the visions page)

- jody



More information about the TYPO3-english mailing list