Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to create a new subsite using default publishing template in sharepoint 2007, once created i want a different theme to be applied to site, how can i change the default theme ans use a different theme as default?

kindly help. Urgent.

share|improve this question
    
is this through powershell, visual studio, feature deployment, web services, UI, etc?? –  Dave Wise Apr 17 '13 at 19:02
    
@DaveWise sharepoint setting through site setting etc, no custom code –  Ishan Apr 17 '13 at 19:05
add comment

1 Answer 1

up vote 0 down vote accepted

You need to apply theme which is applied to default publishing template or you need to apply separate theme for your new sub site only?

Yes it is possible. Consider you have your custom theme. Now you need to navigate to the location "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\SiteTemplates\". Here select your site template. In your case, select PUBLISHING -> XML -> Onet.xml. Open the xml file and add new tag under configuration to call our custom page with parameter as your custom theme. In custom page, we need to apply our custom theme and redirect to default page.Reference Here

share|improve this answer
    
I have main site wit say TestTemplate theme, Whenever i create a new subsite using default publihing template(not custom ) TestTemplate theme should be automatically applied to it. Is it possible? –  Ishan Apr 18 '13 at 10:20
    
Create new site using default publishing template. Apply your TsetTemplate theme and save that site as template. Now you can create any sites using that site template which will have TestTemplate theme applied by default. –  suren Apr 18 '13 at 10:38
    
That i know, i have given that as temp solution to the client but they want to use default SP template. Is it possible to do that? –  Ishan Apr 18 '13 at 11:40
1  
Yes it is possible. Consider you have your custom theme. Now you need to navigate to the location "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\SiteTemplates\". Here select your site template. In your case, select PUBLISHING -> XML -> Onet.xml. Open the xml file and add new tag under configuration to call our custom page with parameter as your custom theme. In custom page, we need to apply our custom theme and redirect to default page. Please refer the link below for reference. sharepoint-tips.com/2006/03/… –  suren Apr 18 '13 at 12:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.