Пример #1
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// UpdateSettings saves the modified settings to the Database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public override void UpdateSettings()
 {
     try
     {
         Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
         objModules.UpdateTabModuleSetting(TabModuleId, "ConfigAsContact", "" + cbConfigAsContact.Checked);
         objModules.UpdateTabModuleSetting(TabModuleId, "UserMustHaveAccount", "" + cbUserMustHaveAccount.Checked);
         ModuleController.SynchronizeModule(this.ModuleId);
     }
     catch (Exception exc) //Module failed to load
     {
         Exceptions.ProcessModuleLoadException(this, exc);
     }
 }
Пример #2
0
        /// -----------------------------------------------------------------------------
        /// <summary>
        /// UpdateSettings saves the modified settings to the Database
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <history>
        /// </history>
        /// -----------------------------------------------------------------------------
        public override void UpdateSettings()
        {
            try
            {
                Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
                objModules.UpdateTabModuleSetting(TabModuleId, "ShowFeedback", Convert.ToString(cbShowFeedback.Checked));

                //objModules.UpdateTabModuleSetting(TabModuleId, "template", txtTemplate.Text);
                //refresh cache
                SynchronizeModule();
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }
Пример #3
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// UpdateSettings saves the modified settings to the Database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public override void UpdateSettings()
 {
     try
     {
         Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
         objModules.UpdateTabModuleSetting(TabModuleId, "RedirectUrl", txtRedirectUrl.Text);
         objModules.UpdateTabModuleSetting(TabModuleId, "RedirectProfile", Convert.ToString(cbProfileRedirect.Checked));
         objModules.UpdateTabModuleSetting(TabModuleId, "RedirectFriends", Convert.ToString(cbFriendsRedirect.Checked));
         //objModules.UpdateTabModuleSetting(TabModuleId, "template", txtTemplate.Text);
         //refresh cache
         SynchronizeModule();
     }
     catch (Exception exc) //Module failed to load
     {
         Exceptions.ProcessModuleLoadException(this, exc);
     }
 }
Пример #4
0
        /// -----------------------------------------------------------------------------
        /// <summary>
        /// UpdateSettings saves the modified settings to the Database
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <history>
        /// </history>
        /// -----------------------------------------------------------------------------
        public override void UpdateSettings()
        {
            try
            {
                Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
                objModules.UpdateTabModuleSetting(TabModuleId, "LandingPage", txtLandingPage.Text);
                objModules.UpdateTabModuleSetting(TabModuleId, "BlogUrl", txtBlogUrl.Text);
                objModules.UpdateTabModuleSetting(TabModuleId, "SalesPhone", txtSalesPhone.Text);

                //objModules.UpdateTabModuleSetting(TabModuleId, "template", txtTemplate.Text);
                //refresh cache
                SynchronizeModule();
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }
Пример #5
0
        /// -----------------------------------------------------------------------------
        /// <summary>
        /// UpdateSettings saves the modified settings to the Database
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <history>
        /// </history>
        /// -----------------------------------------------------------------------------
        public override void UpdateSettings()
        {
            try
            {
                Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
                objModules.UpdateTabModuleSetting(TabModuleId, "LandingPage", txtLandingPage.Text);
                objModules.UpdateTabModuleSetting(TabModuleId, "BlogUrl", txtBlogUrl.Text);
                objModules.UpdateTabModuleSetting(TabModuleId, "SalesPhone", txtSalesPhone.Text);
                objModules.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, "WelcomeText", RadEditorWelcomeText.Content);
                objModules.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, "BetaTestText", RadEditorBetaTestText.Content);
                objModules.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, "InvestorText", RadEditorInvestorText.Content);
                objModules.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, "ThankYouText", RadEditorThankYouText.Content);

                //objModules.UpdateTabModuleSetting(TabModuleId, "template", txtTemplate.Text);
                //refresh cache
                SynchronizeModule();
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }
Пример #6
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// UpdateSettings saves the modified settings to the Database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public override void UpdateSettings()
 {
     try
     {
         Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
         objModules.UpdateTabModuleSetting(TabModuleId, "ConfigAsContact", "" + cbConfigAsContact.Checked);
         objModules.UpdateTabModuleSetting(TabModuleId, "UserMustHaveAccount", "" + cbUserMustHaveAccount.Checked);
         ModuleController.SynchronizeModule(this.ModuleId);
     }
     catch (Exception exc) //Module failed to load
     {
         Exceptions.ProcessModuleLoadException(this, exc);
     }
 }
Пример #7
0
        /// -----------------------------------------------------------------------------
        /// <summary>
        /// UpdateSettings saves the modified settings to the Database
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <history>
        /// </history>
        /// -----------------------------------------------------------------------------
        public override void UpdateSettings()
        {
            try
            {
                Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
                objModules.UpdateTabModuleSetting(TabModuleId, "LandingPage", txtLandingPage.Text);
                objModules.UpdateTabModuleSetting(TabModuleId, "BlogUrl", txtBlogUrl.Text);
                objModules.UpdateTabModuleSetting(TabModuleId, "SalesPhone", txtSalesPhone.Text);

                //objModules.UpdateTabModuleSetting(TabModuleId, "template", txtTemplate.Text);
                //refresh cache
                SynchronizeModule();
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }
Пример #8
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// UpdateSettings saves the modified settings to the Database
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <history>
 /// </history>
 /// -----------------------------------------------------------------------------
 public override void UpdateSettings()
 {
     try
     {
         Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
         objModules.UpdateTabModuleSetting(TabModuleId, "RedirectUrl", txtRedirectUrl.Text);
         objModules.UpdateTabModuleSetting(TabModuleId, "RedirectProfile", Convert.ToString( cbProfileRedirect.Checked ));
         objModules.UpdateTabModuleSetting(TabModuleId, "RedirectFriends", Convert.ToString(cbFriendsRedirect.Checked));
         //objModules.UpdateTabModuleSetting(TabModuleId, "template", txtTemplate.Text);
         //refresh cache
         SynchronizeModule();
     }
     catch (Exception exc) //Module failed to load
     {
         Exceptions.ProcessModuleLoadException(this, exc);
     }
 }
Пример #9
0
        /// -----------------------------------------------------------------------------
        /// <summary>
        /// UpdateSettings saves the modified settings to the Database
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <history>
        /// </history>
        /// -----------------------------------------------------------------------------
        public override void UpdateSettings()
        {
            try
            {
                Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
                objModules.UpdateTabModuleSetting(TabModuleId, "LandingPage", txtLandingPage.Text);
                objModules.UpdateTabModuleSetting(TabModuleId, "BlogUrl", txtBlogUrl.Text);
                objModules.UpdateTabModuleSetting(TabModuleId, "SalesPhone", txtSalesPhone.Text);
                objModules.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, "WelcomeText", RadEditorWelcomeText.Content);
                objModules.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, "BetaTestText", RadEditorBetaTestText.Content);
                objModules.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, "InvestorText", RadEditorInvestorText.Content);
                objModules.UpdateLargeTabModuleSetting(TabModuleSettings, TabModuleId, "ThankYouText", RadEditorThankYouText.Content);

                //objModules.UpdateTabModuleSetting(TabModuleId, "template", txtTemplate.Text);
                //refresh cache
                SynchronizeModule();
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }
Пример #10
0
        /// -----------------------------------------------------------------------------
        /// <summary>
        /// UpdateSettings saves the modified settings to the Database
        /// </summary>
        /// <remarks>
        /// </remarks>
        /// <history>
        /// </history>
        /// -----------------------------------------------------------------------------
        public override void UpdateSettings()
        {
            try
            {
                Affine.Dnn.ModuleController objModules = new Affine.Dnn.ModuleController();
                objModules.UpdateTabModuleSetting(TabModuleId, "ShowFeedback", Convert.ToString( cbShowFeedback.Checked ));

                //objModules.UpdateTabModuleSetting(TabModuleId, "template", txtTemplate.Text);
                //refresh cache
                SynchronizeModule();
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }