Ask a questionAsk a question
 

Questioncustomize the page of MSSE

  • Friday, June 20, 2008 8:49 AMqlongzgl Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    I want to customize the page of MSSE inculding the search page and result page. Could you please tell me how to do in detail? Thanks! Actually, I design search page by sharepoint designer without Search Box web part, using form submit as the search box. For result page, I design it by designer with Core result and other web parts, also inclduing the search box in top and bottom of page just like Google's page. It can work but the keywords typed in search box of first page can't be transferred to the search box on result page. What is the professional way to customize the page? create customized search box web part by VS.NET? Can you show me the detail solutions? Thanks again.

All Replies

  • Monday, June 30, 2008 2:35 AMWoody WindischmanMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    While you can use SharePoint designer for this, that may be more than is really required in your case. Most of what you have described can be done through the web User Interface with the various Search web parts and site settings.

     

    In particular, when you use the MSS search box web part instead of a generic form web part, the query parameters are picked up by it automatically (the "k" parameter on the URL). The Web Part Properties of the search box will let you set many search options, including specifying the results page. 

  • Monday, June 30, 2008 6:14 AMqlongzgl Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks!

    I want to customise the search page and result page because I don't like the default search box which's height can't be adjusted.

    I think I have to design a web part as search box to set up search page. Do you have experience to develop the web part of search function by VS.net? 

  • Monday, June 30, 2008 11:22 AMWoody WindischmanMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Although you can't directly edit the standard search boxes, you can set the height through CSS. Assign the style "ms-sbplain" the height (and any other cosmetics) you want the search box to have. The simple way to do this for a single page is via adding a Content Editor web part with a style segment:

     

    Code Snippet

    <style>
    .ms-sbplain{
    height=50;
    background=#ffff00; }
    </style>

     

     

    This sets the height to 50 pixels, and the background color to yellow, overriding the default style from core.css or any theme you have applied. (Note: you can also incorporate such a segment into the custom theme or other branding .CSS file your site uses, so it automatically applies to every search box.) 

  • Tuesday, August 25, 2009 3:53 AMPatrick.I Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Any resources on how i can customise the result page.
    Thanks in Advance