Problem:
Having done something, the search box is no longer visible on the master page although
<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox">
</SharePoint:DelegateControl >
</asp:ContentPlaceHolder>
does exist on the page and search control is visible in SharePoint Designer.
Thoughts:
There is a search.js in 1033 folder.
Solution:
Make sure that the ContentPlaceHolder in the master page has not visible=false.
Also check that your layout pages do not have empty Content tags with ContentPlaceHolderId value
PlaceHolderSearchArea. If you do, they will override the respective Content on the master page.
Thanks to Ivan Inyushin for teaching me the wonders of ContentPlaceHolders.
If you have a MOSS in an diffentert language than english, could be that you don't have the search.js in your language folder.
ReplyDeleteYou have to copy from 1033 and insert into the language p.e 1036 if it is french
Thanks for the tip, this might indeed work in some cases, but in my specific case we have English version (1033).
ReplyDeleteHowever, I will double check that this file exists next week when I get back to work.