I've got this code adding a menu item to the PersonalActions menu. It works on the main site but not on sub sites, any ideas why?
elements.xml:
<?xml version="1.0" encoding="utf-8"?>
<Elements Id="9876b641-54a4-433e-8a4d-6a5d4eb34f81" xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="ID_ResetPassword"
GroupId="PersonalActions"
Location="Microsoft.SharePoint.StandardMenu"
Sequence="1000"
Title="Reset Password"
Description="Reset your password">
<UrlAction Url="schemes/Documents/ResetPassword.aspx"/>
</CustomAction>
</Elements>
edit: as recommended by TimeToThine i've added a feature.xml file:
<?xml version="1.0" encoding="utf-8"?>
<Feature Id="59dc5cf5-de9f-44ab-8c3e-a5923494ae47"
Title="BlankFeature1"
Description="Description for BlankFeature1"
Version="12.0.0.0"
Hidden="FALSE"
Scope="Site"
DefaultResourceFile="core"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="elements.xml"/>
</ElementManifests>
</Feature>
