< back to Template Programming

Script Module

Reference for script module: components, data types, fields and sample code.

Last updated on 9/5/2013

Script Module Fields

The script module provides the following components for displaying scripts.

Component List

ScriptViewer Script

Common Fields for ItemView tab

The following fields can be used in the ItemView tab of the template html dialog editor. If the data displayed (Script) has the CMS field indicated, then the code will be available to use by the Component.

Field Name (Template)CMS FieldTypeCommentsOptions
code Script Code text HTML, Javascript, raw text.  

Common Fields for Before & After tabs


Script Specific Fields

These fields can be used by any component that displays a script. 

Template FieldCMS FieldTypeCommentsOptions
id id int    

Sample Code

The following section shows common sample code for each component type.