SharePoint Search Server 2010 Missing Small Search Input Box

Unanswered SharePoint Search Server 2010 Missing Small Search Input Box

  • vendredi 6 juillet 2012 21:20
     
     

    This is our production SharePoint site missing the Small Search Input Box 

    This is our Test SharePoint site that was restored with a cab backup from the production site including the Small Search Input Box

    I've compared the following files between the production site and test site and each one was identical: default.master, v4.master, minimal.master, peoplesearchresults.aspx, searchmain.aspx, searchresults.aspx

    Also I confirmed that the Search Service was running on the production site and that the following code existed in the default.master page

    <td style="padding-" valign="top">

                   <asp:contentplaceholder id="PlaceHolderSearchArea" runat="server">
                    <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
                     </asp:contentplaceholder>

    http://social.technet.microsoft.com/Forums/sk/sharepointsearch/thread/b2d028ab-ea52-4a30-bcd1-9861b9bd21b6

    I've followed many proposed solutions from many sites, but can't find a solution that works for me.

    Please SharePoint Gurus' help me find my solution! :-)



    • Modifié BitReaper vendredi 6 juillet 2012 21:28
    •  

Toutes les réponses

  • samedi 7 juillet 2012 04:42
     
     

    Hello,

    can you please check by right click on the page in the browser and check the view source , your search box control appearing or not in the view source ?



    Hiren Patel

  • lundi 9 juillet 2012 13:07
     
     

    This is the code that I captured by right-clicking on the area where the Small Search Input Box should be located in the TopNavigationMenu and inspecting it.

    <div id="zz15_TopNavigationMenuV4" class="s4-tn"> <div class="menu horizontal menu-horizontal"> <ul class="root static"> <li class="static selected"><a class="static selected menu-item" href="/" accesskey="1"><span class="additional-background"><span class="menu-item-text">Home</span><span class="ms-hidden">Currently selected</span></span></a></li><li class="static"><a class="static menu-item" href="/hr/Benefits/Home.aspx"><span class="additional-background"><span class="menu-item-text">Human Resources</span></span></a></li><li class="static"><a class="static menu-item" href="/apcommittee/"><span class="additional-background"><span class="menu-item-text">Appreciation Committee</span></span></a></li><li class="static"><a class="static menu-item" href="/ProductDevelopment/"><span class="additional-background"><span class="menu-item-text">Product Development</span></span></a></li><li class="static"><a class="static menu-item" href="/it/"><span class="additional-background"><span class="menu-item-text">IT</span></span></a></li><li class="static"><a class="static menu-item" href="/sales/"><span class="additional-background"><span class="menu-item-text">Sales</span></span></a></li><li class="static"><a class="static menu-item" href="/search/default.aspx"><span class="additional-background"><span class="menu-item-text">Search</span></span></a></li> </ul> </div> </div>



    • Modifié BitReaper lundi 9 juillet 2012 13:15
    •  
  • lundi 9 juillet 2012 13:11
     
     

    Here is what the code should appear as if the Small Search Input Box existed on the production site ( this is from our test site):


    <table class="ms-sbtable ms-sbtable-ex s4-search" cellpadding="0" cellspacing="0" border="0"> <tbody><tr class="ms-sbrow"> <td class="ms-sbscopes ms-sbcell"><select name="ctl00$PlaceHolderSearchArea$ctl01$SBScopesDDL" id="ctl00_PlaceHolderSearchArea_ctl01_SBScopesDDL" title="Search Scope" class="ms-sbscopes"> <option value="This Site">This Site: Home Page</option> <option selected="selected" value="">All Sites</option> </select></td><td class="ms-sbcell"><input name="InputKeywords" type="text" maxlength="200" id="ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_InputKeywords" accesskey="S" title="Search..." class="ms-sbplain" alt="Search..." onkeypress="javascript: return S3031AEBB_OSBEK(event);" style="width:170px;"></td><td class="ms-sbgo ms-sbcell"><a id="ctl00_PlaceHolderSearchArea_ctl01_S3031AEBB_go" title="Search" href="javascript:S3031AEBB_Submit()"><img title="Search" onmouseover="this.src='\u002f_layouts\u002fimages\u002fgosearchhover15.png'" onmouseout="this.src='\u002f_layouts\u002fimages\u002fgosearch15.png'" class="srch-gosearchimg" alt="Search" src="/_layouts/images/gosearch15.png" style="border-width:0px;"></a></td><td class="ms-sbLastcell"></td> </tr> </tbody></table>


    • Modifié BitReaper lundi 9 juillet 2012 13:13
    •  
  • lundi 9 juillet 2012 21:14
     
     

    Status update: Finally! I made progress! 

    If I change the Site Collection Search Center to "Do not use custom scopes. Use only contextual scopes" the Small Input Search Box re-appears! At least now I know that this problem shouldn't be the cause of context errors in my master files. It appears this behavior is expected OOB in SharePoint Search Server.

  • lundi 9 juillet 2012 21:56
     
     

    More info when changing the Site Collection Search Center to "Do not use custom scopes.":


    On the production site, the search box appears, but the drop down menu does not. 

    When I apply the same settings on the test site, both the drop down and the search box appears. Both sites have the same display scopes setup.

    Production Site:

    Test Site:



    • Modifié BitReaper mardi 10 juillet 2012 14:39
    •