Edit the welcome-dropdown menu

If you want to remove the “MySettings” from the user dropdown menu (up in the right corner of a sharepoint page) so that it looks like this instead:

Then go to folder:C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12TEMPLATECONTROLTEMPLATES
Make a copy of welcome.ascx!
Then open the file Welcome.ascx in Notepad
Add the following attribute to each element you wish to hide:Visible=”False”
For example:

SharePoint:MenuItemTemplate runat=”server” id=”ID_PersonalInformation”
Text=”(%$Resources:wss,personalactions_personalinformation%)”
Description=”(%$Resources:wss,personalactions_personalinformationdescription%)” MenuGroupId=”100″
Sequence=”100″
ImageUrl=”/_layouts/images/menuprofile.gif”
UseShortId=”true”
Visible=”False”

Coolish!

Leave a Reply

9 Comments on "Edit the welcome-dropdown menu"

Notify of
avatar
Sort by:   newest | oldest | most voted
cory church
Guest

I want to remove the word "Welcome" at the very top. How do I do that?

Lise
Guest

Thanks Ryan for sharing, great info!
Take care,
/Lise

RyanTMann
Guest

Oh, forgot to mention. With Visual Studio 2010 you can add an Application Page to a SharePoint assembly project. It will automatically map it to layouts directory/Namespace.Assembly directory. Simply right click the directory in solution explorer and remap it to the control templates directory.

Now when you deploy your solution it will automatically put your welcome page in the right place.

Nice to be able to package everything in one solution, hit deploy at a new location and watch everything go where it needs to and run out of the box.

RyanTMann
Guest
There is a pretty easy way to do this without having it affect the whole farm. Go to the control templates directory and make a new folder for your site, e.g. SomeSite Now go back to control templates and copy welcome.aspx and paste it into your new folder "SomeSite". Then for each web application you want to use the new welcome.aspx, edit the master page files in sharepoint designer, locate the following line, <%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %> Change that to <%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/SomeSite/Welcome.ascx" %> Now the welcome control will load the copy aspx source instead of… Read more »
Phoenix
Guest

Hello Lise, do you know of a way to edit this menu without editing the Welcome.ascx file, I found this article but could not get it to work for me thanks: http://mphacker.spaces.live.com/Blog/cns!8040CC624DDC5404!624.entry

Mark

wpDiscuz