b:structure.field

<b:structure.field />

Displays single metadata field from single content.

This tag is a fast way to display only one metadata field from single content when you know the data model and id or path of the content.

This is similar to the <b:id.datamodel.metadata.field /> tag, but with this tag you can use dynamic attributes to define the content from which to show fields from.

If you need to display actual contents of the tag and not only metadata fields, use <b:get.field /> tag.

See also

Attributes

from

If id attribute isn't defined, from should be a path to the content.

If id attribute is defined, from should be name of the data model of the content.

id

(optional)
The id of the content.

Examples

Usage

Here are some hints on how to use this tag.
<b:structure.name id="2" from="manual_document" />
<b:structure.name from="/help/documentation/template-development" />

<b:value.pageid set="6" />
<b:structure.name id="<b:value.pageid />" from="page" />
HTML source output
Template development
Template development

Home