/// <summary> /// This function is where the page gets to create and insert all the objects required /// </summary> public override void OnPageLoad() { // Now create the forum object AddComponent(new BBC.Dna.Component.NewUsersPageBuilder(_basePage)); PageUI pageInterface = new PageUI(_basePage.ViewingUser.UserID); _basePage.WholePageBaseXmlNode.FirstChild.AppendChild(_basePage.WholePageBaseXmlNode.OwnerDocument.ImportNode(pageInterface.RootElement.FirstChild, true)); }
/// <summary> /// This function is where the page gets to create and insert all the objects required /// </summary> public override void OnPageLoad() { // Now create the Content Signif Admin builder object AddComponent(new ContentSignifAdminBuilder(_basePage)); PageUI pageInterface = new PageUI(_basePage.ViewingUser.UserID); _basePage.WholePageBaseXmlNode.FirstChild.AppendChild(_basePage.WholePageBaseXmlNode.OwnerDocument.ImportNode(pageInterface.RootElement.FirstChild, true)); _basePage.AddAllSitesXmlToPage(); }
/// <summary> /// This function is where the page gets to create and insert all the objects required /// </summary> public override void OnPageLoad() { _reviewForum = new ReviewForumBuilder(_basePage); // Now create the review forum builder page object AddComponent(_reviewForum); PageUI pageInterface = new PageUI(_basePage.ViewingUser.UserID); _basePage.WholePageBaseXmlNode.FirstChild.AppendChild(_basePage.WholePageBaseXmlNode.OwnerDocument.ImportNode(pageInterface.RootElement.FirstChild, true)); }
/// <summary> /// This function is where the page gets to create and insert all the objects required /// </summary> public override void OnPageLoad() { // Now create the more pages page object _moderateHome = new ModerateHome(_basePage); AddComponent(_moderateHome); ModerationClasses _moderationClasses = new ModerationClasses(_basePage); AddComponent(_moderationClasses); PageUI pageInterface = new PageUI(_basePage.ViewingUser.UserID); _basePage.WholePageBaseXmlNode.FirstChild.AppendChild(_basePage.WholePageBaseXmlNode.OwnerDocument.ImportNode(pageInterface.RootElement.FirstChild, true)); _basePage.AddAllSitesXmlToPage(); }
/// <summary> /// This function is where the page gets to create and insert all the objects required /// </summary> public override void OnPageLoad() { // Now create the More Posts object AddComponent(new MorePosts(_basePage)); PageUI pageInterface = new PageUI(_basePage.ViewingUser.UserID); _basePage.WholePageBaseXmlNode.FirstChild.AppendChild(_basePage.WholePageBaseXmlNode.OwnerDocument.ImportNode(pageInterface.RootElement.FirstChild, true)); _basePage.AddAllSitesXmlToPage(); _basePage.WholePageBaseXmlNode.FirstChild.AppendChild(_basePage.WholePageBaseXmlNode.OwnerDocument.ImportNode(CurrentSite.GetTopicListXml(), true)); // Add the sites topic list //RootElement.AppendChild(ImportNode(InputContext.CurrentSite.GetTopicListXml())); // Add site list xml //RootElement.AppendChild(ImportNode(InputContext.TheSiteList.GenerateAllSitesXml().FirstChild)); }