-
From the Template Editor, select the OTScript
tab.
-
In the coding area, enter or copy OTScript code corresponding to one or more
methods.
-
To compile and save the code, click Save
.
Note:
If an error is found:
- OTScript appears in red italic in the tab.
- A mark appears to identify the line in error. Hover over the mark to display the
error message.
Only the first error is visible.
Additional methods appear under the corresponding types in the Data
tab of the Template Editor. If no category is indicated in the code,
methods are presented in the Extensions category.
You can insert these methods, as usual, in your current template.