Wählen Sie Ihre Sprache:

<we:field type="date">

Since version: - | Requires endtag: no

Description

This tag is used inside a <we:listview> tag to output the content of a date field.

Specific

Inside <we:linklist> this tag cannot have attributes.

Attributes

type

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

Allowed values:

  • date

name

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

Set this attribute to the name of the target field to be put out.

Allowed values:

  • WE_PATH
  • WE_ID
  • wedoc_CreationDate
  • wedoc_ModDate
  • wedoc_ParentID
  • wedoc_Text

hyperlink

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

Allowed values:

  • true
  • false

href

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


target

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

Allowed values:

  • _top
  • _parent
  • _self
  • _blank

format

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


alt

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


max

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


htmlspecialchars

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

Using htmlspecialchars="true" will change all special chars into HTML entities ("&" is transformed to "&"). If htmspecialchars is "false" or not set, all special chars remain unchanged.

Allowed values:

  • true
  • false

Syntax

<we:field type="date" name="WE_PATH|WE_ID|wedoc_CreationDate|wedoc_ModDate|wedoc_ParentID|wedoc_Text" [hyperlink="true|false"] [href="attribute"] [target="_top|_parent|_self|_blank"] [format="attribute"] [alt="attribute"] [max="attribute"] [htmlspecialchars="true|false"] />

Examples

Example

<we:listview>
  <we:repeat>
    <we:field name="Date" type="date" format="d.m.Y"/><br>
  </we:repeat>
</we:listview>