Reputation: 4757
I am modifying an existing Sharepoint 2007 site. It just has two pages, the home page, and an admin page. The admin page has a couple form/document libraries. I simply want to have a search so that a user can search through all the documents/forms in the document/form library. I dont care if its a whole site search, as long as it pulls up results including those from all the document/form libraries on the site.
I have enabled site visibility ("allow this web to appear in search results") on both pages. I just cant find anywhere to enable an actual search button/search textbox/search webpart. I just want the actual control where i can type in a word and hit search. where/how can I enable that?
When I go to sharepoint designer I can see the search box at the top of the master page, but cant see it on the published (live) page.
Upvotes: 0
Views: 4235
Reputation: 4757
Apparently a previous developer had modified the master page to hide the search feature controls.
The line in my master page that I had to edit was:
<td valign=top>
<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
</asp:ContentPlaceHolder>
</td>
The table cell had an inline style to "display:none;" which I removed.
Upvotes: 0
Reputation: 49
First of all, search in MOSS 2007 is a BIG deal to understand... don't expect button "On/Off"!
Now that this is clear:
When you watch master page in sharepoint designer, you are seeing a page template as it would be seen with all functions enabled. So master page has to have the search button inside, so that MOSS knows where to show search button when it is enabled.
As for the first question:
P.S. Also I'm using a book for this kind of settings - great book Office Sharepoint server 2007 - Administrator's companion from Microsoft, written by Bill English (MS Sharepoint Community Expert)
Upvotes: 1