Before adding any Content Server elements to your templates, make sure you understand the terminology and basic syntax rules detailed below.
The following terms are used in this specification:
Content Items are the base objects displayed and managed through Content Server. Each content item has an associated Data Entry Template and Presentation Template. Content Items are made up of properties, defined by the Data Entry Template.
Data Entry Templates control the type of information included in content items by defining properties. Data Entry Templates consist of fields (properties) that are filled out by submitting user; the data in the fields is used to create a content item. Data Entry Templates can include Selection Lists that limit fields to specific entries.
Presentation Templates control how content item data is displayed to users. Presentation Templates consist of templating code that defines the content to be displayed and HTML that defines the style and formatting to apply to the page. Presentation Templates reference content items using the properties defined in the associated Data Entry Template.
Content Server Elements are the sequences of text within each template that begin with a start tag and end with a matching end tag. (A tag is a marker that starts with <tagname> and ends with </tagname>.) For a full list of elements, see Content Server Elements.
Plumtree Content Server elements (tags) are formatted like XML elements and begin with the prefix “pcs". For example:
<pcs:tagname attributename=attributevalue...> Content
</pcs:tagname>
Text outside pcs tags is left unchanged when the template is processed during publication. Tags can appear inside of HTML elements, inside HTML tags, even inside quoted strings. Attribute values must be surrounded by single or double quotes, as in HTML or XML:
<pcs:value property="dog"> (legal)
<pcs:value property='dog'> (legal)
<pcs:value property=dog> (NOT legal)
Angle brackets (<>) and ampersands (&) cannot be used within Content Server elements.
There are also specific syntax rules for using properties, expressions and paths within Content Server elements.