I'm interested in adding an element to the top navigation bar, but I've been unable to find information on how to do this. I've found plenty of resources on how to add a navbar link, but what I'm interested in, is adding an extra sub-element (is this even the right word?) to this. I've attached an image to try and exemplify what I mean.
I have some items in the navigation bar. When I click one of these items, a number of sub-items show up, for example 'new document', 'change password' and so on. I want to add a 'change email', but I can't find the place to add this functionality. I've tried looking in the site settings and in SharePoint Designer as well, but with no luck!
Any hints greatly appreciated.
UPDATE 1:
I've tried to add an XML with a custom ribbon which I was hoping would be visible across all lists, but I can't find see it and I'm sure it's probably because I haven't implemented it correctly but I have trouble finding out what and where the problem lies:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="Ribbon.Library.Actions.AddAButton"
Location="CommandUI.Ribbon"
RegistrationId="0x01"
RegistrationType="ContentType"
Title="Change Email Ribbon Button">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location="Ribbon.Documents.Share.Controls._children">
<Button Id="Ribbon.ListForm.Edit.Commit.NewRibbonButton"
Command="ChangeEmailRibbonButtonCommand"
Image16by16="/_layouts/15/$Resources:core,Language;/images/formatmap16x16.png?rev=23" Image16by16Top="-127" Image16by16Left="-91"
Image32by32="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32Top="-477" Image32by32Left="-307"
LabelText="$Resources:Toolkit,ChangeEmailButtonLabel"
TemplateAlias="o2" />
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler
Command="ChangeEmailRibbonButtonCommand"
CommandAction="javascript:
ChangeEmail();
" />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
<CustomAction Id="Ribbon.ListForm.Edit.Commit.Scripts" Location="ScriptLink" ScriptSrc="/_layouts/15/GOToolkit/JS/loadJsOrCssFile.js?version=1.7.3" />
</Elements>