Wählen Sie Ihre Sprache:

<we:ifEditmode>

Since version: 1.5.2 | Requires endtag: yes

Description

This tag is used to display the enclosed content only in edit mode.

Attributes

doc

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

If the attribute is set to doc="top" or not set, the query refers to the main page, even if the tag is within an included file which is included in the main page. If the attribute is set to doc="self", the query refers to the file in which the tag is located.

Allowed values:

  • top
  • self

Syntax

<we:ifEditmode [doc="top|self"]> ... </we:ifEditmode>

Examples

Example #1

<we:ifEditmode>Headline:<br /></we:ifEditmode>
<we:input type="text" name="Headline" size="30"/>