0

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.

2
  • is this through powershell, visual studio, feature deployment, web services, UI, etc??
    – Dave Wise
    Apr 17, 2013 at 19:02
  • @DaveWise sharepoint setting through site setting etc, no custom code
    – Ishan
    Apr 17, 2013 at 19:05

1 Answer 1

0

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

4
  • 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, 2013 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, 2013 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, 2013 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, 2013 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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