Configuration for external links (externalLink)
The diagram on the left-hand side shows an example of an screen form for an external link. In the example all the possible input fields for this type of link are displayed.
If an explicit configuration is not given for an instance of an external link, as a default all components are displayed with their default values.
The template developer can configure each input field project-specifically by giving the "name" attribute in the <CMS_PARAM> tag (cf. Chapter Configuration). The attribute names, through which the respective input fields or selection lists can be influenced are displayed in the diagram in italics. (To enlarge, please click the diagram!)
The following fields can be used for all instances of the standard link type "externalLink", for configuring external links (outside the project):
Special variables (link type: externalLink)
Variable name | Description |
---|---|
ref | The "ref" field is an input component for entering an external URL. The standard behaviour of the input component can be changed using the configuration of the input component, for example by pre-assigning the component for the input of HTML pages with the value "HTTP://": |
comment | The "comment" field is an input component for entering a comment. The editor can enter any comment text in the input field which can be displayed, for example, as a "tooltip". The standard behaviour of the input component can be changed via the configuration. |
text | The "text" field is an input component for entering a link text. Any text can be entered in the field which is to be linked. The standard behaviour of the input component can be changed via the configuration. |
linktemplate: | The "linktemplate" field is a selection list for selecting a link template. As a default the selection list contains all link templates of the current instance of the link template type. (Explication: see Introduction to Link Templates) |
mediaref | The "mediaref" field is an input component for the selection of a media object to be linked from the project's Media Store. The standard behaviour of the input component can be changed via the configuration of the input component. |
target | The "target" field is an input component for selection of a target frame for the link, for example in the current window or in a popup window. The link is opened in the selected target frame. |
remotemedia | The "remotemedia" field defines which remote project is available for selection of a media object from the Media Store. The symbolic name of the remote project must be given for the attribute value. |