<we:var type="link">
Since version: - | Requires endtag: no
Description
This tag is used to display the test of a <we:link/> or an objectfield of the type "Link".
For the other attributes of <we:link/>, use the attribute only.
Attributes
type
Default value: - | since version: - | required: yes
Allowed values:
- link
name
Default value: - | since version: - | required: yes
Set this attribute to the field name whose content is to be displayed.
doc
Default value: - | since version: - | required: no
Setting this attribute to "self" will 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" to refer to the main current webEdition document, even if the tag is in an included document.
Allowed values:
- self
- top
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
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.
only
Default value: - | since version: - | required: no
This attribute allows to return single attribut (only="nameOfAttribute") of the link or only the content (only="content") of the link.
Allowed values:
hrefjsstatusjsscrollbarsjsmenubarjstoolbarjsresizablejslocationimg_idtypectypeborderhspacevspacealignaltjsheightjswidthjsposxidtextcontenttitleaccesskeytabindexlangrelobj_idanchorparamstargetjswinjscenterjsposyimg_title
Syntax
<we:var type="link" name="attribute" [doc="self|top"] [htmlspecialchars="true|false"] [cachelifetime="attribute"] />