Wählen Sie Ihre Sprache:

<we:author>

Since version: - | Requires endtag: no | Required modules: users

Description

This tag is used to display the name of the author of a webEdition document.

Specific

This tag only works with the standard or PRO version of the User Management Module.

Attributes

type

Default value: - | since version: - | required: no

The attribute "name" tells the tag to output the first and then last name of the author of the current document. Setting the attribute to "initials" instructs the tag to output the initials of the author. If neither the first nor last name of the author are defined, the username is displayed. If this attribute is not set, the default setting is to display the username.

Allowed values:

  • name
  • initials

doc

Default value: - | since version: - | required: no

Setting this attribute to "self" will instruct the tag to display the author of the document, regardless of whether or not it has been included using a <we:include type="document"/> tag. Setting this attribute to "top" instructs the tag to return the author of the main document currently being viewed.

Allowed values:

  • self
  • top

creator

Default value: false | since version: - | required: no

Set this attribute to "true" to display the name of the author of a document. If this attribute is not set, the user name of the person who last changed the document will be displayed.

Allowed values:

  • true
  • false

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:author [type="name|initials"] [doc="self|top"] [creator="true|false"] [cachelifetime="attribute"] />

Examples

Example #1

<we:author type="name" doc="top"/>