VTINCLUDE lets you embed a reference to another VTML file within a VTML file.
The syntax is<vtinclude file="file_name">
with the value of file
being a logical path to an existing file (absolute or relative). The Extensions/Includes folder may be used for VTINCLUDE files, but any valid path will work.
Insert a VTINCLUDE tag at the place in a VTML file where you want to reference the included file.
The VTINCLUDE tag lets you place content in a single file and reference that file as needed.
You can nest VTINCLUDE tags, but not recursively.
<VTINCLUDE file="file_name">
Whitespace around the equals sign is allowed.
FILE> | Required. Reference to the included file. This can be a relative or absolute file reference; relative is relative to the currently executing file. |
Enables a modular approach to VTML development and simplifies maintenance tasks.
This tag appears near the top of every XHTML tag definition file:
<VTINCLUDE FILE="../../Includes/tdIconsDialog_all.inc"/>
The included file contains code that is used to display icons in each of the XHTML tag editors. The .inc extension is a naming convention adopted for the Visual Tools, but any valid VTML included file will be processed correctly, regardless of the extension.