Actions
Bug #81316
closedlinkhandler does not respect custom typolink configuration
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2017-05-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint
Description
When using a link field (e.g. header_link) in TypoScript the recordLinks (linkhandler configuration) don't respect any configuration.
Let's say I want to render a link out of the header_link field and give it a certain class.
10 = TEXT
10 {
value = foobar
typolink {
parameter.field = header_link
ATagParams = class="foobar"
}
}
When I set a regular link type (page, file, external url) I get the wanted result like
<a href="..." class="foobar">foobar</a>
But when I use linkhandler configured link type (e.g. for news) the ATagParams and everything else (like returnLast or something) are ignored.
<a href="...">foobar</a>
This makes them unusable since the link generation is not consistent over link types.
It might be strongly related to https://forge.typo3.org/issues/80896 and https://forge.typo3.org/issues/80895
Actions