Skip to content
Snippets Groups Projects
Commit 9aa50fcf authored by Harry Glatz's avatar Harry Glatz Committed by Benni Mack
Browse files

[BUGFIX] CSC Header CE does not respect lib.parseTarget configuration

The TypoScript of the CSC header element does not respect
the global lib.parseTarget configuration

Resolves: #36216
Releases: 8.7, 7.6
Change-Id: I08ea6c59829a4a63b4aca6bf90b89223921b3fdf
Reviewed-on: https://review.typo3.org/54430


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 78e7f989
Branches
Tags
No related merge requests found
.. include:: ../../Includes.txt
==========================================================
Important: #77830 - CSC-HeaderLinkRespectsGlobalPageTarget
==========================================================
See :issue:`77830`
Description
===========
Setting the global configuration :typoscript:`lib.parseTarget` was not respected by the header_link field.
Now the configuration is properly applied and might change the output in the frontend.
Impact
======
If the global setting :typoscript:`lib.parseTarget` is set, the field header_link will now respect it.
If in addition the target of header_link is set in a content element, it will take precedence over
:typoscript:`lib.parseTarget`.
.. index:: Frontend, TypoScript
......@@ -223,6 +223,9 @@ lib.stdheader {
field = header
htmlSpecialChars = 1
typolink.parameter.field = header_link
typolink.target < lib.parseTarget
typolink.target =
typolink.target.override = {$styles.content.links.target}
}
10.key.field = header_layout
10.key.ifEmpty = {$content.defaultHeaderType}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment