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

Script Module Fields

The script module provides the following components for displaying scripts.

Component List

Component Data
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 Field Type Comments Options
code Script Code text HTML, Javascript, raw text.  

Common Fields for Before & After tabs

N/A

Script Specific Fields

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

Template Field CMS Field Type Comments Options
id id int    

Sample Code

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

ScriptViewer

 @code@