TemplateType

Takes one parameter, Type

Description:

This new command allows you to manually specify the Template Type, and takes just a single parameter which is the name of the type.

The only options at this time are:

* Bootstrap-v3
* Legacy

Template.htm files should have the Template Type specified in them so that this TemplateType command is not needed in most cases. After the <!DOCTYPE html> line, on a second line, and before the <html> tag, add this line:

    <!TMPLTYPE type>

...where type is one of the above type options.

Because the Type of the Template affects what code Moxie produces, if you are going to change the Template you should use the TemplateName command prior to generating any output.

If you are creating a custom Template in memory by using the TemplateCustom command, or using the AjaxReply command, and if you need to specify a specific Template Type other than the Default Type, then you must use the TemplateType command to set the Type prior to generating any output.