Adding a link to the Site Settings menu can be a way to create “Shortcuts” for everyone with the correct permissions to use the menu. I will show how to add a link on the menu. What you link to is up to you.
Create a normal feature, meaning under the Features folder in “12 hive”, you create your own folder, and inside it you add a feature.xml and an elements.xml file.
The link is created just by adding CAML to the elements.xml file. This is an example of it:
01 <elements>02 <customaction id="SiteActionsToolbar">03 GroupId="SiteActions"04 Location="Microsoft.SharePoint.StandardMenu"05 Sequence="1001"06 Title="Code-Journey.com"07 Description="SharePoint, .NET and more..."08 ImageUrl="/_layouts/images/html32.gif">09 <urlaction url="http://code-journey.com">10 </urlaction>11 </customaction>12 </elements>
This will create the link when you activate the feature. It’s intelligent enough to remove it as well when you deactivate the feature. Thats the smart thing about creating as much as you can through CAML.
Complete project can fe found here:
Related posts:
- How to create a new feature in sharepoint using Visual Studio
- Microsoft Application Templates for SharePoint(Site templates and site definitions)
- Quick intro to creating custom SharePoint (MOSS, WSS) site themes
- Missing websites in the SharePoint flyout menus for everyone but the site collection owner
- Overcome Site Template size limit of 10 MB
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.