Wählen Sie Ihre Sprache:

<we:include type="template">

Since version: 1.5.2 | Requires endtag: no

Description

This tag allows you to include a template in the template.

Attributes

type

Default value: document | since version: 4.0 | required: yes

The "type" attribute determines, if a document or a template is included. Include documents to outsource parts of the website. Include templates to outsource often needed editing parts on documents.

Allowed values:

  • template

path

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

Set this attribute to the path of the webEdition document to be inserted. If no path is defined, the "id" attribute must be set.


id

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

Set this attribute to the ID of the template to be inserted.


Syntax

<we:include type="template" [path="attribute"] [id="attribute"] />

Examples

Example #1

<we:include type="template" id="100"/>

Example #2

<we:include type="template" path="/includes/header.tmpl"/>