summary
Defines a content-type
's summary. A
summary is a set of field
s intended to be used
when content items appear as:
-
Relations in other content items
-
Teasers on section pages
A summary
usually contains a subset
of the content-type
's ordinary fields. It
can, however, also contain fields that are specifically intended for
use on the summary.
The content of summary fields can be locally overridden in the relations/teasers that use the content item. That is, when a Content Studio user adds a content item to a section page (for example), she can modify the fields in the teaser without affecting the source content item's fields.
Syntax
<summary> ANY-FOREIGN-ELEMENT* <field>...</field>* <ref-relation-type-group/>* </summary>
The following forms of the field
element may be used:
Complex field, Basic field, Boolean field, URI field, Schedule field, Number field, Link field, Enumeration field, Inherited field.
Examples
This example defines a simple summary containing two
field
s.<summary> <ui:label>Content Summary</ui:label> <field name="title" type="basic" mime-type="text/plain"/> <field name="summary" type="basic" mime-type="text/plain"/> </summary>