Uploading a Template to CMS

Templates Tutorial : Uploading a Template to CMS

Overview

Developers can edit existing templates by uploading files via a web browser. The datasource files (.tcl files) associated with templates (.adp files) should be maintained locally in the filesystem and ideally placed under version control. Currently, there is no way to upload datasources (.tcl files) using CMS although CMS can ascertain important information from the datasource files.

Step by Step

  1. Browse to the folder that contains the template to be edited by uploading a file.

  2. Click the Upload icon to upload a new revision for this template.

    Alternatively, clicking the name of the template and then clicking the "General" tab will bring up a list of options for that template (see Figure 1). Click the "Upload" link to upload a revision for this template.


    Figure 1. Template Options.

  3. Choose a local file from which to upload the new version of the template (see Figure 2). Clicking "Upload" will upload the new version and clicking "Cancel" will go back to the previous page.

    Upload a Template
    Figure 2. Upload Template Page.

  4. Clicking the "Upload" button adds a new revision to the template, filling in the template body with the contents of the uploaded file.