Indexed Search

1.6.5. Handling extendToSubpages - or not

In the searching plugin there are two ways of searching with respect to accessible pages.

1) join_pages=1: If set, then the final result rows are joined with the pages table. This will make sure that no enableFields-hidden (but NOT extendToSubpages) pages are selected. And it will also make sure to search ALL pages within the rl0 of the index_section table. But  extendToSubpages will NOT be taken into account!

2) join_pages=0 (default): Then a long list of page-ids are selected first and after that the final result-rows are selected but without joining the pages-table. This will work with a limited number of page-ids (which means most sites). And it makes sure that any extendToSubpages-hidden pages are NOT selected along with enableFields-hidden pages. BUT it will also prevent pages down the branch of a "php_tree_stop" from being selected as well.

To top


Valid XHTML 1.0!