Share via


Adding a custom column to Site Settings

Many of you have probably encountered the need in SharePoint 2007 to add custom links to the "Site Settings" page.  Odds are, you probably dropped your links in the "Site Administration" column.  This works fine if you only have a link or two.  What happens when you need to add a number of links?  The solution is simple:  Add a custom column to the "Site Settings" page.  But this requires a significant amount of complex coding or tinkering with the out-of-the-box (OOB) SharePoint page, right?  Wrong!  The listing below will show you how simple it is to implement.

In your "elements.xml" file, add the following...

 <CustomActionGroup Id="MyAdministrationColumn"
Location="Microsoft.SharePoint.SiteSettings"
Sequence="35"
Title="My Custom Administration">
</CustomActionGroup>

 <CustomAction Id="MyCustomLink1"
GroupId="MyAdministrationColumn"
Location="Microsoft.SharePoint.SiteSettings"
Sequence="10"
Title="Custom Link 1">
<UrlAction Url="~site/_layouts/myfeature/custompage1.aspx" />
</CustomAction>

 <CustomAction Id="MyCustomLink2"
GroupId="MyAdministrationColumn"
Location="Microsoft.SharePoint.SiteSettings"
Sequence="11"
Title="Custom Link 2">
<UrlAction Url="~site/_layouts/myfeature/custompage2.aspx" />
</CustomAction>

 The result is a new column with two links in the "Site Settings" page.