I want to change social tags and notes buttons in the ribbon, but I don't know how and even if it is possible.
So we have 2 social buttons in the ribbon, I like it and Tags & notes. I want to change those buttons:
- Change the text on the buttons.
- Change the picture
Is it possible? And where should I start?
If it is not possible, what is a big chance, should I than create my own 2 custom actions, with own text and pictures?
But where do I find the definitions of:
- Ribbon.ListItem.TagsAndNotes.ILikeIt
- Ribbon.ListItem.TagsAndNotes.TagsAndNotes
I can't find them in cmdui.xml But then the question is how do I add the functionality of the OOTB buttons?
Update:
Following the msdn article (http://msdn.microsoft.com/en-us/library/ff407619.aspx) I created here a replacement button but it doens't work:
<CustomAction Id="Ribbon.ListItem.TagsAndNotes.ILikeIt"
Location="CommandUI.Ribbon"
Title="Sanco version of I Like It">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location="Ribbon.ListItem.TagsAndNotes.ILikeIt">
<Button Id="Ribbon.ListItem.TagsAndNotes.ILikeIt"
Sequence="5"
Command="ReplacementButtonCommand"
LabelText="Replaced Button"
TemplateAlias="o1" />
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler
Command="ReplacementButtonCommand"
CommandAction="javascript:alert('This button has been replaced.');" />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>