Convenient link editing is available for editing links (cross-references) in Weblication® CMS.
The two project bases BASE Classic and BASE (Mobile First) differ in the implementation of the link element (Weblic®).
The BASE Classic project uses a "Link" structural element within page editing, which can be used to edit the individual parameters of a link. This is based on the maintenance comment for links, which is defined via the edit masks for links.
The BASE (Mobile First) project also uses a "Link" structural element within page editing, which can be used to edit the individual parameters of a link. However, the underlying template does not use the maintenance comment for links, but is implemented via maintenance comments in such a way that the editing fields can be influenced via CSS-only.
You can also insert and edit links within maintainable text areas (WYSIWYG field). This is implemented in the same way in both BASE Classic and BASE (Mobile First). By default, the same edit mask is always used for link editing.
Depending on the settings of the edit mask, you will receive the attributes released for maintenance in link editing. The standard attributes for link editing shown on the left-hand screen are described below.
In this field, use the right selection arrow to select the file you want to link to. For external links, enter the corresponding address in the input field (e.g. https://www.weblication.de).
As soon as an internal path (starting with /) is entered in the field, a magnifying glass symbol appears next to the selection arrow, which can be used to preview the linked file.
The anchor symbol to the right of the selection arrow allows you to select an anchor by clicking on it, provided that selectable jump labels can be read out in the project-internal linked page. These can be links with a filled name attribute or containers with a corresponding id specification(e.g. Weblication® CMS headings (implementation of the Weblication® headings)).
You can use the selection box to choose in which window or in which way the linked file should be opened. By default, you are offered the following options via CSS-only variants:
Further selection options can be installed as CSS-only variants or implemented individually.
In this field, enter the link text that should be displayed for the linked file in the presence. This should also describe the link accordingly (e.g. directions).
In this field, enter the alternative text for the link, which should describe the link in more detail.
The title is displayed in many browsers when the mouse pointer is moved over the link and is particularly important for accessible websites.
By clicking on the"Insert title of linked file" button, you can optionally request the title of the linked file, which is entered in the field. This function only applies to linked HTML files from which the title can be read.
In this field, you can optionally enter the name of the link that is to be assigned to the link. This is important for anchors or accessible pages, for example.
This field only appears if the attribute is defined as editable via the general setting (CSS-only property for link display).
You can use the selection box to choose which display type should be assigned to the link. In this way, a CSS-only layout variant is assigned to the link.
The display types available for selection can be adjusted manually in the project via CSS-only sub-variants.
You can use the selection box to choose which icon should be assigned to the link. In this way, a CSS-only sub-variant is assigned to the link.
The available options can be adjusted manually in the project via CSS-only sub-variants.
You can use the selection box to choose which position or alignment should be assigned to the link. In this way, a CSS-only sub-variant is assigned to the link.
The options available for selection can be adjusted manually in the project via CSS-only sub-variants.
Additional attributes can be conveniently added to the edit mask via CSS-only properties. The best way to do this is to take a look at the standard delivery of elementLink.scss, which usually has all the options already prepared.
You can find the articles describing the procedure via the links below.
The display types available for selection can be adjusted manually in the project via the associated XML file.
The display types available for selection can be adapted manually in the project via the associated XML file.