My sys admin set up our SharePoint so there is basically one big site collection with many subsites run by many different people. Each site under the site collection has its own branding. When I search from my page it redirects to url/mysite/_layouts/OSSSearchResults.aspx? but which displays the search results in the master page of the top site in the site collection. I need this to show the search results in a page that matches my own site master page. Any advice?
I found a way to change the search results page (see below).
I was able to accomplish this by replacing:
<SharePoint:DelegateControl ID="DelegateControl3" runat="server" ControlId="SmallSearchInputBox" Version="4"/>
With the following in the Masterpage:
<SharePointWebControls:SearchBoxEx ID="SmallSearchBox" runat="server" ShowAdvancedSearch="false" QueryPromptString="Enter Search Term…" DropDownMode="HideDD_NoScope" SearchResultPageURL="mycustomsearchresults.aspx" ScopeDisplayGroupName="" FrameType="None" DisplaySubmittedSearch="false" />
And then I added a Search Core Results Web Part to the mycustomsearchresults.aspx page to receive the query. It never returns anything but this is a separate problem that existed before I was tasked to brand.