<we:DID>
Since version: 1.5.2 | Requires endtag: no
Description
This tag returns the ID of a webEdition document.
Attributes
doc
Default value: - | since version: 1.5.2 | required: no
Setting this attribute to "self" will cause the tag to return the ID of the webEdition document in which the tag originates, even if it has been included into another document (see <we:include>). Setting this attribute to "top" will cause the tag to return the ID of the main webEdition document, even if the tag itself actually originates in a document which has been included (see <we:include>). Setting this attribute to "listview" when used within a listview (see <we:listview>), will cause the tag to return the ID of the link to which the listview points.
Note: For reasons of compatability with other tags, the attribute "type" has been renamed "doc". However, "type" will continue to work for backward compatibility with existing templates.
Allowed values:
- top
- self
- listview
cachelifetime
Default value: 0 | since version: 4.2.0.0 | required: no
With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.
Syntax
<we:DID [doc="top|self|listview"] [cachelifetime="attribute"] />
Examples
Example
<we:DID type="top"/>