<we:path>
Since version: - | Requires endtag: no
Description
The we:path tag represents the path of the current document. If there is an index file in one of the subdirectories, a link is set on the respective directory. The used index files ( separated by commas ) can be specified in the attribute "index". If nothing is specified there, "default.html", "index.htm", "index.php", "default. htm", "default.html" and "default.php" are used as default settings. In the attribute "home" you can specify what to put at the very beginning. If nothing is specified, "home" is displayed automatically. The attribute separator describes the delimiter between the directories. If the attribute is empty, "/" is used as delimiter. The attribute "field" defines what sort of field (files, directories) is displayed. If the field is empty or non-existent, the filename will be displayed. The attribute "dirfield" defines which field is used for display in directories. If the field is empty or non-existent, the entry of "field" or the filename is used.
Attributes
index
Default value: - | since version: - | required: no
Set this attribute to a comma seperated list of index file(s).
separator
Default value: - | since version: - | required: no
Set this attribute to the seperator to appear between the directories. If the value of the attribute is empty or the attribute is unset, the seperator is set to "/" by default.
home
Default value: - | since version: - | required: no
Set this attribute to the title of the first entry. If the value of the attribute is empty or the attribute is unset, the first entry will be "home" by default.
hidehome
Default value: false | since version: 4.0 | required: no
If you set this attribute with the value "true", the first entry of the path does not appear. If the value of this attribute is "false" or the attribute is not set, the complete path is indicated.
Allowed values:
- false
- true
field
Default value: - | since version: - | required: no
Set this attribute to the name of a field located in the webEdition documents and whose content is to be displayed. If the field is empty or does not exist, the file name will be displayed. Directories are checked for a defined index file, and if the index file exists, a link to the index file will be generated.
dirfield
Default value: - | since version: - | required: no
Set this attribute to the name of a field to be displayed for directories. If the field is empty or does not exist, the value of the attribute "field" or the filename is used.
doc
Default value: - | since version: - | required: no
Set this atribute to "self" to cause webEdition to refer to the current webEdition document. If the document was included using <we:include>, it refers to the included document. Set this Attribute to "top" or do not set it to refer to the main current webEdition document, even if the tag is in an included document.
Allowed values:
- top
- self
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:path [index="attribute"] [separator="attribute"] [home="attribute"] [hidehome="false|true"] [field="attribute"] [dirfield="attribute"] [doc="top|self"] [cachelifetime="attribute"] />