Ejemplo n.º 1
0
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new LivePersonChatSettings()
            {
                LiveEngageTag = ""
            };

            _settingService.SaveSetting(settings);

            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.LiveEngageTag", "LiveEngage Tag");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.LiveEngageTag.Hint", "Enter your LiveEngage Tag code here.");

            base.Install();
        }
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new LivePersonChatSettings()
            {
                ButtonCode     = "",
                MonitoringCode = "",
                WidgetZone     = ""
            };

            _settingService.SaveSetting(settings);

            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.ButtonCode", "Button code(max 2000)");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.ButtonCode.Hint", "Enter your button code here.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.LiveChat", "Live chat");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.MonitoringCode", "Monitoring code(max 2000)");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.MonitoringCode.Hint", "Enter your monitoring code here.");

            base.Install();
        }
        /// <summary>
        /// Install plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new LivePersonChatSettings()
            {
                ButtonCode = "",
                MonitoringCode = "",
                WidgetZone = ""
            };
            _settingService.SaveSetting(settings);

            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.ButtonCode", "Button code(max 2000)");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.ButtonCode.Hint", "Enter your button code here.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.LiveChat", "Live chat");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.MonitoringCode", "Monitoring code(max 2000)");
            this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.LivePersonChat.MonitoringCode.Hint", "Enter your monitoring code here.");

            base.Install();
        }
 public LivePersonChatPlugin(ISettingService settingService,
     LivePersonChatSettings livePersonChatSettings)
 {
     this._settingService = settingService;
     this._livePersonChatSettings = livePersonChatSettings;
 }
 public LivePersonChatPlugin(ISettingService settingService,
                             LivePersonChatSettings livePersonChatSettings)
 {
     this._settingService         = settingService;
     this._livePersonChatSettings = livePersonChatSettings;
 }