Use in input components
Links are used in several FirstSpirit Input components. There are special input components which an editor mainly uses to enter and maintain links (CMS_INPUT_LINK and CMS_INPUT_LINKLIST), but there are also components in which links are entered in addition to other editorial contents, for example the two DOM input components (CMS_INPUT_DOM and CMS_INPUT_DOMTABLE).
All input components which can be entered via the links require:
- a Link Configuration for the input of the editorial contents and
- a Link template for the output of the editorial contents
Different link templates can be involved depending on the link type and the contents to be entered via an editor.
For generic link editors (from FirstSpirit version 4.2) instead of Link configurations and one or more Link template/s only Link configurations are used. For details about the configuration of generic link editors please see respective subchapter. |
Which link template is to be used must be given in the form area of the required page or section template. There it is possible to specify which link templates are to be used for each input component (via which links can be created).
An example of the input component <CMS_INPUT_DOM...>:
<CMS_INPUT_DOM...>
...
<LINKEDITORS>
<LINKEDITOR name="einInternerVerweis"/>
<LINKEDITOR name="einExternerVerweis"/>
<LINKEDITORS>
...
</CMS_INPUT_DOM...>
An overview of all steps necessary for creating link templates is given in the Chapter Link templates .