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!

0
0
votes
Rate this article!
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

9 Comments
newest
oldest most voted
Inline Feedbacks
View all comments
Anonymous

Problem with this approach is that it will apply to ALL sites and ALL site collections and ALL web apps in your SharePoint environment – not only one desired page/site.

I would recommend doing a feature and perhaps look at overriding some CustomAction.. 😉

Zorro is cool.

Lise

Heeee hey Tobbe Z :=)
I know, it’s a quick and really dirty solution hihi.
Back to work man…

eli

Hey Not sure if you still checking responses to this post but i was curious if you new how to add a link to the welcome menu instead of removing one? thanks.

Lise

Hi Eli,

Here is an example of how to add your own links in the welcome.ascx file. You should really build a custom feature like in the example so that your customizations are intact if there is an upgrade or similar.
http://glorix.blogspot.com/2007/08/custom-action-locations-and-groupid.html
Good luck 🙂

Phoenix

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