Wählen Sie Ihre Sprache:

<we:printVersion>

Since version: - | Requires endtag: yes

Description

This tag is used to generate a link to the current webEdition document, whereas another template, which is optimized for printing, is being used for display. All content between the start and end tag is linked.

Specific

It is possible in current browsers to select a seperate stylesheet for the output of the page on printers. This enables the browser to optimize the document for printing without having to reload. See <we:css media="print" /> for more information. This solution is preferable to the tag <we:printversion />.

Attributes

tid

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

Set this attribute to the ID of the template to be used for the print-optimized version. This template should possess the same fields as the original template.


target

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

Set this attribute to the target (window or frame name) of the link.

Allowed values:

  • _top
  • _parent
  • _self
  • _blank

link

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

Set this attribute to "false" to display the URL instead of generating a link. Set the attribute to " true" or do not set it to generate a link.

Allowed values:

  • true
  • false

doc

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

Set this attribute to "self" to refer to the actual webEdition document. If the document was included using <we:include>, the attribute "self" refers to the included document. If you set this attribute to "top" or you do not set it at all, it will refer to the main current webEdition document even if the tag was in an included document.

Allowed values:

  • top
  • self

triggerid

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

If your webEdition directory is protected by a htaccess password, the value of this attribute must be set to the ID of a dynamic webEdition document. We recommend that you create a separate dynamic webEdition document (without assigning it a template) for this purpose.


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:printVersion tid="attribute" [target="_top|_parent|_self|_blank"] [link="true|false"] [doc="top|self"] [triggerid="attribute"] [cachelifetime="attribute"]> ... </we:printVersion>