CityDesk 2.0-Documentation
Template PropertiesThe Template Properties dialog lets you determine:
- The name of the template,
- What extension files based on this template will use when published, for example, .html or .xml,
- Which extra fields should appear in theExtras tab, and
- What label to use in the user interface for the headline, author, and extra fields.
To modify a template's properties, bring up the Templates window, choose the template, and click on the Properties tool.
Modifying the user interface labels is quite helpful when you are using one of the fields for a different purpose. For example, suppose you are creating a real estate web site, with an article for each house available for sale. Your template might be designed to assume that the "Author" field is actually the agent's name and the "Extra 1" field actually contains the price of the property. Using the template properties dialog, you can change the labels to make them more meaningful and helpful while people are editing articles. The CityScript remains the same; even if Extra 1 has the label "Price - include $ sign", you still have to refer to it as {$ .extra1 $} in the body of the template.
You can also turn off any of the fields from the extras tab if you aren't using them, on a per-template basis. This leaves more room for the remaining fields and removes any confusion about what goes where.
©Copyright 2001-2003 Fog Creek Software, Inc. All Rights Reserved.