Sunday, February 22, 2009

CustomAction added to SiteActions menu

To add a menuitem on to the SiteActions menu to link to the listview of the current pages library:
<customaction id="CustomPagesAdministration" 
groupid="SiteActions"
location="Microsoft.SharePoint.StandardMenu"
sequence="0" title="Pages Administration"
rights="ApproveItems">
<urlaction url="Pages/Forms/AllItems.aspx">
</urlaction>
</customaction>
This will only show up for users that have "Approve" rights on the pages library.