protected override void OnInit(EventArgs e) { base.OnInit(e); TopStudioPanel = (TopStudioPanel)LoadControl(TopStudioPanel.Location); MetaKeywords.Content = Resource.MetaKeywords; MetaDescription.Content = Resource.MetaDescription.HtmlEncode(); }
protected override void OnInit(EventArgs e) { base.OnInit(e); TopStudioPanel = (TopStudioPanel)LoadControl(TopStudioPanel.Location); MetaKeywords.Content = Resource.MetaKeywords; MetaDescription.Content = Resource.MetaDescription.HtmlEncode(); MetaDescriptionOG.Content = Resource.MetaDescription.HtmlEncode(); MetaTitleOG.Content = (String.IsNullOrEmpty(Page.Title) ? Resource.MainPageTitle : Page.Title).HtmlEncode(); CanonicalURLOG.Content = HttpContext.Current.Request.Url.Scheme + "://" + Request.GetUrlRewriter().Host; MetaImageOG.Content = WebImageSupplier.GetAbsoluteWebPath("logo/fb_icon_325x325.jpg"); }
protected override void OnInit(EventArgs e) { base.OnInit(e); TopStudioPanel = (TopStudioPanel)LoadControl(TopStudioPanel.Location); MetaKeywords.Content = Resource.MetaKeywords; MetaDescription.Content = Resource.MetaDescription.HtmlEncode(); MetaDescriptionOG.Content = Resource.MetaDescription.HtmlEncode(); MetaTitleOG.Content = (String.IsNullOrEmpty(Page.Title) ? Resource.MainPageTitle : Page.Title).HtmlEncode(); CanonicalURLOG.Content = HttpContext.Current.Request.Url.Scheme + "://" + HttpContext.Current.Request.Url.Host; MetaImageOG.Content = SetupInfo.MetaImageURL; }
public static void AdjustTopNavigator(TopStudioPanel topNavPanel, PersonalPart part, Guid currentItem) { topNavPanel.DisableProductNavigation = true; topNavPanel.DisableSearch = true; topNavPanel.DisableUserInfo = true; topNavPanel.DisableVideo = true; //items //foreach (var itemId in PersonalItems) //{ // var webItem = WebItemManager.Instance[itemId]; //topNavPanel.NavigationItems.Add( // new NavigationItem // { // Name = webItem.Name, // URL = VirtualPathUtility.ToAbsolute(webItem.StartURL), // Selected = currentItem.Equals(webItem.ID) || (part == PersonalPart.Default && isFirst) // }); //} ////backup //topNavPanel.NavigationItems.Add( // new NavigationItem // { // Name = Resources.Resource.Backup, // URL = GetPartUrl(PersonalPart.Backup), // Selected = (part == PersonalPart.Backup), // RightAlign = true // }); ////settings //topNavPanel.NavigationItems.Add( // new NavigationItem // { // Name = Resources.Resource.Administration, // URL = GetPartUrl(PersonalPart.Settings), // Selected = (part == PersonalPart.Settings), // RightAlign = true // }); ////profile //topNavPanel.NavigationItems.Add( // new NavigationItem // { // Name = Resources.Resource.Profile, // URL = GetPartUrl(PersonalPart.Profile), // Selected = (part == PersonalPart.Profile), // RightAlign = true // }); }
protected override void OnInit(EventArgs e) { base.OnInit(e); TopStudioPanel = (TopStudioPanel)LoadControl(TopStudioPanel.Location); }
public static void AdjustTopNavigator(TopStudioPanel topNavPanel, PersonalPart part) { AdjustTopNavigator(topNavPanel, part, Guid.Empty); }