To content
IT & Media Centre of TU Dort­mund University
Consider Workaround

Anchor Links in Single-Tree Appearances

The integration of anchor links in single-tree appearances requires the manual specification of link parameters so that the anchor links also refer to the translated content elements. If these link parameters are not specified, anchor links always point to the content elements in the respective leading language and lead nowhere.

To have an anchor link point to a content item, click the small black-bordered triangle to the left of the page name in the Link Browser. All available content elements of the respective page are then displayed in the right column. You can now select the desired content element with a mouse click (see screenshot "Selecting anchor links"). The UID of the content element is now noted in the anchor link and when you click on the anchor link, the page jumps to the respective content element.

If you now translate the anchor links, they do not automatically link to the translated content elements. Rather, a click on the translated anchor link leads nowhere.

 

Workaround: Storing link parameters

When using the Rich Text Editor

After you have translated the anchor links, you must store the new UIDs of the translated content elements there using a link parameter.

Carry out the following steps for each translated anchor link individually:

  1. Make a note of the new UID of the translated content element to which the anchor link refers. You can view the respective UID of a content element by moving the mouse over the icon in the top left-hand corner of the content element (see screenshot "Viewing UIDs").
  2. Edit the translated anchor link by selecting it in the rich text editor and clicking on the icon for "Insert / edit link". The link browser opens.
  3. The "Additional link parameters" input field is located in the upper, light gray area of the link browser. Enter the parameter"&L=1#c" there, followed by the new UID of the translated content element from step 1. Example:"&L=1#c98612" (see screenshot "Enter link parameters")
UIDs einsehen
Link-Parameter hinterlegen

Important editorial note

If a link parameter has already been set and the anchor link is edited again via the link browser, the link parameter that has already been set is no longer visible in the corresponding input field. It is therefore no longer possible to edit an existing link parameter. The link  must be removed and set again.

For link fields

Carry out the following steps for each anchor link individually:

  1. Make a note of the new UID of the translated content element to which the anchor link refers. You can view the respective UID of a content element by moving the mouse over the icon in the top left-hand corner of the content element (see screenshot "Viewing UIDs").
  2. Edit the translated anchor link by clicking on the left of the two symbols to the right of the link field.
  3. There, add the parameter"&L=1#c", followed by the new UID of the translated content element from step 1.
Link field in the TYPO3 backend