Theme Changer Question

Feb 14, 2008 at 11:12 PM
Edited Feb 14, 2008 at 11:13 PM
Got ThemeChanger set up and working (what a lifesaver). 2 Questions- How can I get the other FeatureSiteTemplateAssociation ID's for my other template/applications? We want all new sites to have the same template.
Second, is there some way to force a template down to existing sites?

Thanks for the great addon feature.

Patrick
Coordinator
Feb 16, 2008 at 8:11 PM
The way to create a staple for all of the possible site templates is to modify the Elements.xml file so that you reference the GLOBAL site template. You'll also have to reference the BLANK team site because it's a odd duck due to its use in Publishing. So Make the Elements.xml look something like this:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<FeatureSiteTemplateAssociation
Id="..." TemplateName="GLOBAL" />
<FeatureSiteTemplateAssociation
Id="..." TemplateName="STS#1" />
</Elements>