
124
Serena® Collage® 5.1.3
Chapter 4 Layout Contribution Component Reference
What are the Layout Contribution Components?
Collage includes the following layout contribution components:
Layout Contribution Field
The Layout Contribution Field component tells Collage where on a contribution layout
page to insert the content from a contribution field.
How the Layout Contribution Field Component Works
The Layout Contribution Field component uses the following syntax:
<nexus:field contribution="
field_name
"/>
For example, to insert the content of a field called Body on a layout page, use the
following syntax:
<nexus:field contribution="Body"/>
Example Layout File Usage
For example, the layout file pictured below defines the formatting for three contributed
content fields, Heading, Body, and Side bar. The layout file also includes additional
template elements, which you can create using the Collage components. The same result
Component Description For details, see...
Layout Contribution Field Determines where on the page
contribution fields will be laid out
"Layout Contribution Field" on page
124
Layout Contribution Metadata Displays the value of a specified
metadata field, making it editable
from the contribution asset editing
view in Collage
"Layout Contribution Metadata" on
page 127
Layout Contribution Property Inserts the value of specific asset
properties into contribution assets
"Layout Contribution Property" on
page 130
IMPORTANT!
To ensure that any special characters in your contribution documents display correctly,
make sure that the layout or master pages for them include a
META
tag that sets the
character encoding for the content to UTF-8. To do this, you must place the following
META
tag in the
<head>
section of a page:
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
Commenti su questo manuale