Changes to templating

This section describes what has changed in templating in SDL Tridion 2009 SP1.

Modular Templating
ContentType is now used to determine the type of a variable rather than Double.TryParse. In versions prior to SDL Tridion 2009, a text field containing what could be interpreted as a number, for example (@@Phone@@), would be resolved as a non-quoted (+049234324) string. The JScriptEvaluator would then evaluate the non-quoted string as a number (49234324) rather than as a phone number string. In SDL Tridion 2009 SP1, string fields and number fields are resolved correctly by ContentType rather than with Double.TryParse.
You can revert to the legacy mode of number parsing by adding a configuration setting: open the Tridion.ContentManager.config file and specify <tridion.templating legacyNumberParsing="true" >.