I have been asked to set the default for search for our MOSS Enterprise to
always default to search the current context (site if at site level, list if at
list level). I know that if I put a Search Web Part on a page, I can set the
default so that it acts this way. But I can't figure out how to do it for the
GLOBAL (the search box that is on the right-hand side of the header for all
pages). I tried editing the default.aspx for a site with SharePoint Designer, to
see if I could get to it that way, at least for a specific site. I was able to
replace the global search box with the same one I had added as a web part, and
the behavior was proper (defaults to search at the site level) but that only
changed the site main page, not the other pages on the site. So if I go to a
document library on the site, the search in the header defaults to searching
all, not searching the current list.
I have taken a look at the files in the 12 hive under TEMPLATES, even the
ONET.XML, but I can't see anywhere to put in the configuration to default the
search dropdown to ShowDD_DefaultContextual (the value I can see on my added
search web part when I configure it through the browser, and later look at it in
code view with SharePoint Designer). Any ideas?