Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override void FeatureActivated(SPFeatureReceiverProperties properties) {
- AddThemeToSpThemes(THEME_ID, THEME_NAME, THEME_DESC, THEME_IMAGE, THEME_IMAGE);
- SPWeb site = properties.Feature.Parent as SPWeb;
- if (site != null) {
- site.AllowUnsafeUpdates = true;
- site.SiteLogoUrl = site.Url + "images/thLogo.gif";
- site.Update();
- }
- }
Add Comment
Please, Sign In to add comment