Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

CommonSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Common;

/// 
/// Common settings
/// 
public partial class CommonSettings : ISettings
{
    public CommonSettings()
    {
        IgnoreLogWordlist = new List();
    }

    /// 
    /// Gets or sets a value indicating whether the contacts form should have "Subject"
    /// 
    public bool SubjectFieldOnContactUsForm { get; set; }

    /// 
    /// Gets or sets a value indicating whether the contacts form should use system email
    /// 
    public bool UseSystemEmailForContactUsForm { get; set; }

    /// 
    /// Gets or sets a value indicating whether to display a warning if java-script is disabled
    /// 
    public bool DisplayJavaScriptDisabledWarning { get; set; }

    /// 
    /// Gets or sets a value indicating whether 404 errors (page or file not found) should be logged
    /// 
    public bool Log404Errors { get; set; }

    /// 
    /// Gets or sets a breadcrumb delimiter used on the site
    /// 
    public string BreadcrumbDelimiter { get; set; }

    /// 
    /// Gets or sets ignore words (phrases) to be ignored when logging errors/messages
    /// 
    public List IgnoreLogWordlist { get; set; }

    /// 
    /// Gets or sets the number of days that will be saved in the log when it is cleared
    /// when the corresponding task is performed according to the schedule.
    /// Set to 0 if you want to clear the entire log in its entirety
    /// 
    public int ClearLogOlderThanDays { get; set; }

    /// 
    /// Gets or sets a value indicating whether links generated by BBCode Editor should be opened in a new window
    /// 
    public bool BbcodeEditorOpenLinksInNewWindow { get; set; }

    /// 
    /// Gets or sets a value indicating whether "accept terms of service" links should be open in popup window. If disabled, then they'll be open on a new page.
    /// 
    public bool PopupForTermsOfServiceLinks { get; set; }

    /// 
    /// Gets or sets a value indicating whether jQuery migrate script logging is active
    /// 
    public bool JqueryMigrateScriptLoggingActive { get; set; }

    /// 
    /// Gets or sets a value indicating whether to compress response (gzip by default). 
    /// You may want to disable it, for example, If you have an active IIS Dynamic Compression Module configured at the server level
    /// 
    public bool UseResponseCompression { get; set; }

    /// 
    /// Gets or sets a value of favicon and app icons  code
    /// 
    public string FaviconAndAppIconsHeadCode { get; set; }

    /// 
    /// Gets or sets a value indicating whether to enable markup minification
    /// 
    public bool EnableHtmlMinification { get; set; }

    /// 
    /// Gets or sets the timeout (in milliseconds) before restarting the application; set null to use default value
    /// 
    public int? RestartTimeout { get; set; }

    /// 
    /// Gets or sets a value of header custom HTML
    /// 
    public string HeaderCustomHtml { get; set; }

    /// 
    /// Gets or sets a value of footer custom HTML
    /// 
    public string FooterCustomHtml { get; set; }
}