Agreed, go with feature stapling. Even though that blog talks about My Sites you can use the same concept for automatically applying a theme, master page or custom css url for newly created sites of any type. You need two features. 1) Create a Feature Stapling Feature which is a Feature that tells SharePoint to automatically activate another feature whenever a site of a specific type is created. (similar to http://www.vanolstweb.nl/blog/images/designstaplingxml.jpg) 2) Create a Feature to change the theme, master page or css url, when the feature is activated (similar to http://www.vanolstweb.nl/blog/images/featureactivated.jpg).
Sezai On Mon, Jul 13, 2009 at 11:15 AM, Paul Culmsee < paul.culm...@sevensigma.com.au> wrote: > For me, a stapled feature to an OOTB def for auto-theming is the lesser > evil or a complete custom site def. I know someone who wrote a feature to do > this but I’m not sure if he released it. Ping me privately if it is of > interest and I will ask my friend. > > > > (In fact this example was how I learned how feature stapling worked) > > > > *From:* ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] *On Behalf Of *Paul > Noone > *Sent:* Monday, 13 July 2009 10:50 AM > *To:* ozmoss@ozmoss.com > *Subject:* RE: Custom theme not inheriting on team site > > > > Create a site definition feature to provide master page and CSS overrides > or use feature stapling to apply the theme. > > > > This link describes how to affect look-and-feel for new and existing sites > using a feature. Themes are just whack, I’m afraid. J > > > > > http://www.sharepointblogs.com/mirjam/archive/2008/02/22/customizing-the-my-site-look-and-feel.aspx > > > > Sadly there is no SiteCreated event you can harness, that I am aware of, > otherwise a simple event receiver could be written? > > > > ight want to join: http://www.codify.com/lists > ------------------------------ > Support procedure: https://www.codify.com/lists/support > List address: ozmoss@ozmoss.com > Subscribe: ozmoss-subscr...@ozmoss.com > Unsubscribe: ozmoss-unsubscr...@ozmoss.com > List FAQ: http://www.codify.com/lists/ozmoss > Other lists you might want to join: http://www.codify.com/lists > -------------------------------------------------------------------------------- Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists