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

I'm trying to customize the OOTB Markup Styles in the Ribbon in SP2010 for the Rich Text Editor. I've found some documentation about the process, and one of the first steps is to add a PrefixStyleSheet attribute to the PublishingWebControls:RichHtmlField element in the page layout for layouts that use the Rich HTML Editor.

Making that change to the page layout in SP Designer does remove the OOTB Markup Styles, but I'm wondering how to apply the change across site collections? We have a number of site collections that use the same page layout, but I noticed that when I added the attribute to the page layout in one site collection, that change doesn't carry over to other site collections. Do I need to deploy a feature to make this change? Or is there an easy way to globally change a page layout in all site collections that have that layout?

share|improve this question

1 Answer 1

Page layouts live in the master page gallery and you can't go higher than the site collection. You will need to either manually copy and apply the modified page layout to other site collections or automate it using PowerShell.

You could also develop a feature to deploy your page layout. You would probably end up using PowerShell to activate the feature for all your site collections.

share|improve this answer
1  
Or you could use feature stapling to activate the feature on new site collections of certain site templates. –  tarjeieo May 25 '11 at 11:25
    
Yes, that's an option for new site collections. Worth mentioning. –  SPDoctor May 25 '11 at 12:02

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.