I have three weblogs going. Two I want to be both viewable and searchable (call them “public1” and “public2”), but I want to keep the third (call it “private”) from being either viewed or searched by visitors to the two publicly viewable blogs.
I can modify the advanced search form (search/index template) to exclude the non-viewable site so it doesn’t show up in the Advanced Search page, but there is still the Any Weblog option, and if that is used, the search will pick up entries from all the weblogs, including the “private” blog I want to keep from being viewed or searched.
I have the same problem with the simple search option.
I started with the code from the search/index template from Default Template #1 and then simply modified the line:
{exp:search:advanced_form result_page=“search/results” }
to read as follows (changing the names of the actual weblogs):
<<search:advanced_form weblog=“public1 | public2” status=“open” result_page=“search/results” weblog=“not private”}
When I do this both the simple search and the advanced search (which doesn’t show the private blog as an option for searching) retrieve entries from the private weblog too.
Is this a bug, as Chris Curtis has suggested to me that it might be?
Tom
