Smartsite 7 compatibility settings

Smartsite 7.1 - ...

Since the release of Smartsite 7 the following compatibility settings were introduced.

compatCompareDateTimeInUTC

Defaults to true since release 7.1. DateTime values are converted to UTC before calculating (milli)seconds-, minutes-, hours- and daysBetween()

compatSiteMapUsesRawItemFormat

Defaults to true since release 7.1. The ItemFormat parameter of the SiteMap macro will now receive unresolved sxml as value. Set this compat setting to false to resolve the sxml before it's passed to the parameter.

compatDefaultHandlingMetaNavigation

Defaults to true since release 7.1. The ItemData.Field meta navigation now supports the default= property, in stead of always throwing an exception.

compatDefaultPreFollowReferenceItem

Defaults to true since release 7.11. When a reference item points to an item within the site html.location en channel.link vipers will render a link to the referenced item immediately, so no http redirect needs to occur.

compatStripHtmlInEmailBody

Defaults to false since release 7.11 build 3. With the release of 7.11 build 3 the SendMail macro will no longer use a stripped version of the HtmlBody if no plain text body is provided.

compatUseCurrentCultureForFormatting

Defaults to true since release 7.11 build 3. The String.Format viper now uses the current culture for formatting. Use the new String.FormatInvariant viper if you need the invariant culture.