Hey Sezai. 

 

I was also thinking the feature stapling but then there is the whole "don't
staple to an OOTB site def" thing. I'm stretching the bounds of my dev
credibility here, but what about a delegatecontrol? It could then be used
across any sort of SharePoint site?

 

Bjorn Furuknap of SharePoint Journal fame wrote about this at
SharePointmagazine and Mark Ferraz also used it (with a gotcha he came
across)

 

Links below are the google cache versions because seems the original link is
broken right now.

 

http://74.125.153.132/search?q=cache:dBwmjCgj79AJ:mindsharpblogs.com/markf/a
rchive/2008/03/12/4440.aspx+ferraz+delegatecontrol
<http://74.125.153.132/search?q=cache:dBwmjCgj79AJ:mindsharpblogs.com/markf/
archive/2008/03/12/4440.aspx+ferraz+delegatecontrol&cd=3&hl=en&ct=clnk&gl=au
> &cd=3&hl=en&ct=clnk&gl=au

http://74.125.153.132/search?q=cache:QbmocEU9p10J:mindsharpblogs.com/markf/a
rchive/2008/08/31/8053.aspx+ferraz+delegatecontrol
<http://74.125.153.132/search?q=cache:QbmocEU9p10J:mindsharpblogs.com/markf/
archive/2008/08/31/8053.aspx+ferraz+delegatecontrol&cd=4&hl=en&ct=clnk&gl=au
> &cd=4&hl=en&ct=clnk&gl=au

 

regards

 

Paul

 

From: [email protected] [mailto:[email protected]] On Behalf Of Sezai Komur
Sent: Wednesday, 8 July 2009 3:00 PM
To: [email protected]
Subject: Re: My Site Themes

 

> Or do it programmatically after the fact. Don't ask me how though.

 

You could programatically access each My Site site collection, then access
the root web in each and run the ApplyTheme method

 

SPWeb.ApplyTheme("Theme_ID")

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.applythem
e.aspx

 

Alternatively use a Lapointe custom STSADM extension
http://stsadm.blogspot.com/2008/01/apply-theme.html and use a batch file
with one line for each My Site url. So this will switch the theme for the
existing My Sites, unfortunately newly created My Sites will still need to
have their theme switched. You could make use of a Feature Stapling Feature
which will set the theme when new My Sites are provisioned as discussed here
-
http://objectmix.com/sharepoint/296444-moss-2007-how-apply-theme-my-site-upo
n-site-creation.html

 

Ishai's suggestion actually seems like a lot less work and development, as
it caters for both existing My Sites and newly provisioned ones with a
single control.

 

Sezai.

 

On Wed, Jul 8, 2009 at 2:26 PM, Ishai Sagi <[email protected]>
wrote:

--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to