Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In SharePoint 2010 when adding a link to a site/page I am able to set a number of properties. I'd like to be able to add a "no-follow" attribute so that users can easily select whether the link should be followed or not by a search engine spider.

I've seen how to add a button to the ribbon, just wondering if this is the way to add to the link tools tab?

If you look at the link tools tab you will see there is a "open in new window" checkbox for the link, I'd like to add a "No Follow" checkbox for the link that adds the no follow attribute to the markup.

share|improve this question
    
Please correct me if i am wrong: Using a ribbon button, you want to add a "no-follow" attribute to a selected link? –  Vivek Sep 13 '10 at 17:11
    
Correct, in much the same way as you have a checkbox for "open in new window" –  Mauro Sep 14 '10 at 9:26
    
Did you ever find a solution to this? If so, can you please provide the answer? –  Alex Angas Jun 6 '11 at 3:09

1 Answer 1

up vote 2 down vote accepted

You will want to add your checkbox here -

  • Group ID: Ribbon.Link.Link.Behavior
  • Controls ID: Ribbon.Link.Link.Behavior.Controls

I found this from investigating the out-of-the-box ribbon buttons that are all defined in this file:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL\XML\CMDUI.XML

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.