Using Feature to apply themes in SharePoint 2013 Preview
In my previous post I wrote about applying custom theme to SharePoint 2013 site using new theming engine. I also mentioned that one approach for implementing this functionality could be to encapsulate this code in Feature receiver. In this post, I will demonstrate and explain this approach for applying custom theme to SPWeb. Our custom theming Feature will
- On Feature Activated create and apply new theme to the existing web, while preserving information about current theme
- On Feature Deactivating restore preserved information about previous theme and apply it to the target web.
This all seems to be quite straightforward and clear, very similar to this process in previous SharePoint versions. Click To View Entry