Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharepoint default.master propagation?

We have a large collection of MOSS 2007 sites that need a chunk of javascript added to them. I edited, checked in, published, and approved this change to default.master and the change is reflected on the root site, but none of the subsites.

I'm a little nervous to use the "Reset all subsites to inherit this Site Master Page setting" in site settings since there are so many subsites, but I'm not sure if I have any other option? All of the subsites only show default.master in their master page gallery, but it's not the version I just modified.

Thanks!

like image 586
JustinB Avatar asked Dec 20 '25 04:12

JustinB


1 Answers

In order to get a piece of JavaScript to every page the use of the AdditionalPageHead Delegate control is better than modifying the default.master as it'll also work with modified masterpages (as long as they obey the rules of including the "AdditionalPageHead" delegate)

See my blog post on how to Turn Default Upload Overwrite Off in WSS 3.0 for an example of using the AdditionalPageHead Delegate

like image 72
Per Jakobsen Avatar answered Dec 24 '25 09:12

Per Jakobsen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!