Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We have a requirement to change the text in the search textbox on Mysite on the SharePoint 2010 environment. The default search text is “Find People”, it should be modified to "Search People".

For now we're using a delegate control to insert a startup Javascript (this.Page.ClientScript.RegisterStartupScript) on the page which changes the text once the page is done loading.

Is there a way or a control to change the search text on pageload? If so, how to do that? By the way, which control renders this? Is it from "MySiteTopNavigation.ascx"?

share|improve this question
    
found an article - weshackett.com/2011/02/sp2010-mysites-part-three-branding will give a try.. –  Karthikeyan Jan 25 '12 at 18:17
add comment

1 Answer

It's an old post, but yes, "MySiteTopNavigation.ascx" is the place where you can change it (/14/TEMPLATE/CONTROLTEMPLATES). Search for "PeopleSearchBoxEx" and change the parameter "QueryPromptString"

Or you can change the resources file in the virtual directory folder of your web application "sps.en-US.resx e.g. Look for "MySiteTopNav_PeopleSearch_Text" and change the value.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.