Hi there,

I am a little stuck on this... I have created a new custom site
definition and all looks good. How can I associate a custom theme (at
the moment it is using the default spring) with the site difinition? I
need to make the site definition come up using our default theme so the
user doesn't have to worry to apply it.

I have tried adding this tag:

<link rel="stylesheet" type="text/css" id="onetidThemeCSS"
href="_themes/HIQ/theme.css"><meta name="Microsoft Theme" content="HIQ,
default">

but that doesn't make a difference.

Can anyone please help?

Thanks, Jody.

Re: Associating theme with Custom site definition by dev

dev
Tue Apr 04 03:23:20 CDT 2006

Just thought I would post the fix....

To change the default theme for a custom site refer to Ishai's site:

http://spstips.blogspot.com/2006/03/automatically-applying-theme-to-site.html


You add a little script which is called when the site is being created
via the onet.xml file. Excellent Fix!