In true SharePoint fashion, I’ve updated the common lightup.xml file for SharePoint
2010.

Some things that are missing from below is an Admin link – I’ll update shortly as
I’ve got to get back to a lab I’m finishing writing.
(note I’ve added ~sitecollection below, as all the samples I’ve seen leave this out)

Enjoy and happy Easter all.

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <!--
Document Library Toolbar New Menu Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.DocLibNewToolbar"
    RegistrationType="List"
    RegistrationId="101"
    GroupId="NewMenu"
    Rights="ManagePermissions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY
DOCLIB NEW MENU TOOLBAR BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?NewMenu"/>
  </CustomAction>
  <!--
Document Library Toolbar Upload Menu Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.DocLibUploadToolbar"
    RegistrationType="List"
    RegistrationId="101"
    GroupId="UploadMenu"
    Rights="ManagePermissions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY
DOCLIB UPLOAD MENU TOOLBAR BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?UploadMenu"/>
  </CustomAction>
  <!--
Document Library Toolbar Actions Menu Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.DocLibActionsToolbar"
    RegistrationType="List"
    RegistrationId="101"
    GroupId="ActionsMenu"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY
DOCLIB ACTIONS MENU TOOLBAR BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?ActionsMenu"/>
  </CustomAction>
  <!--
Document Library Toolbar Settings Menu Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.DocLibSettingsToolbar"
    RegistrationType="List"
    RegistrationId="101"
    GroupId="SettingsMenu"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY
DOCLIB SETTINGS MENU TOOLBAR BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?SettingsMenu"/>
  </CustomAction>
  <!--
Site Actions Dropdown -->
  <CustomAction Id="UserInterfaceLightUp.SiteActionsToolbar"
    GroupId="SiteActions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="1000"
    Title="MY
SITE ACTIONS BUTTON">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?SiteActions"/>
  </CustomAction>
  <!--
Per Item Dropdown (ECB)-->
  <CustomAction
    Id="UserInterfaceLightUp.ECBItemToolbar"
    RegistrationType="List"
    RegistrationId="101"
    Location="EditControlBlock"
    Sequence="106"
    Title="MY
ECB ITEM">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?ECBItem"/>
  </CustomAction>
  <!--
Display Form Toolbar -->
  <CustomAction
    Id="UserInterfaceLightUp.DisplayFormToolbar"
    RegistrationType="List"
    RegistrationId="101"
    Location="DisplayFormToolbar"
    Sequence="106"
    Title="MY
DISPLAY FORM TOOLBAR">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?DisplayFormToolbar"/>
  </CustomAction>
  <!--
Edit Form Toolbar -->
  <CustomAction
    Id="UserInterfaceLightUp.EditFormToolbar"
    RegistrationType="List"
    RegistrationId="101"
    Location="EditFormToolbar"
    Sequence="106"
    Title="MY
EDIT FORM TOOLBAR">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?EditFormToolbar"/>
  </CustomAction>
  <!--
Site Settings -->
  <CustomAction
    Id="UserInterfaceLightUp.SiteSettings"
    GroupId="Customization"
    Location="Microsoft.SharePoint.SiteSettings"
    Sequence="106"
    Title="MY
SITE SETTINGS LINK">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?Customization"/>
  </CustomAction>
  <!--
Content Type Settings -->
  <CustomAction
    Id="UserInterfaceLightUp.ContentTypeSettings"
    GroupId="General"
    Location="Microsoft.SharePoint.ContentTypeSettings"
    Sequence="106"
    Title="MY
CONTENT TYPE SETTINGS LINK">
    <UrlAction Url="~sitecollection/_layouts/ContosoLegalFunctionality/LightupHello.aspx?General"/>
  </CustomAction>
</Elements>

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }