Website Configuration Keys

The options below can be used to override settings within your websites, all the options below are then available in code via the Helper.Settings class (example: Helper.Settings.SiteId).
 

AddThisUsername
Type:
String
Description: When you are using the AddThis server control within your website, this option is required to populate your AddThis account with stats.

AdvertLiveUrl
Type: String
Description: When you are using the Advert system, stats will only be recorded if this URL matches the Host website name, (example: website = http://www.domain.com, AdvertLiveUrl = www.domain.com).
 
BasketUrl
Type: String
Description: Used in many E-Commerce server controls, this will redirect the web user.
 
BrowserCacheTime
Type: Integer (Hours)
Description: This controls how long an asset is cached for on the client (using the Expires header).
 
CheckoutCompleteUrl
Type: String
Description: Used in the E-Commerce server controls, this is the URL the web user is forwarded to when a payment is completed or canceled.
 
CheckoutUrlIsSsl
Type: Boolean
Description:  If set to true, the checkout pages will use secure SSL pages, for the entire checkout process.
 
CustomServerErrorUrl
Type: String
Description: If a server error occurs any where within your website, the web user will be forwarded to a custom error page, populate this URL once the page has been created, see SupportEmail to forward the error occurred.
 
DateVsContentModifier
Type: Float
Description: This changes how search results are scored, a higher value causes newer results to be ranked higher than older more relevant results.
 
DebugMode
Type: Boolean
Description: When set to true, any errors that occur within the NgageCore will be displayed in plain text.
 
IsMobileApplication
Type: Boolean
Description: A server side check which returns if the device is a mobile.
 
IsTabletApplication
Type: Boolean
Description: A server side check which returns if the device is a tablet.
 
LoginUrl
Type: 
String
Description: The URL web users are forwarded to, when an area is marked as Members Only and the web user is not logged in.
 
NgageAssetFolder
Type: String
Description: The physical path to the assets directory, defaults to "/uploaded_assets/, used when displaying any type of uploaded CMS asset (Images, PDF's, Word Docs etc).
 
NgageIsPreviewMode
Type: Boolean
Description: If set to true, this will show the website in preview mode, content selected as preview will be displayed. This is ideal when you have a testing website on a different server than your live website.
 
NgageServiceUrl
Type: 
String
Description: This is a required key, enter the web services URL here.
 
SearchPath
Type: String
Description: The physical path to the search directory, defaults to "/uploaded_classes/searchDir", used when the search results server control is used within your website.

SiteId
Type: Long
Description: This is a required key, enter the website id, this can be found in the website settings area within the CMS.
 
SupportEmail
Type: String
Description: If any error occurs within your website, the error will be forwarded to this email address if populated.
 
 
 
 

Add Feedback