Actions
Bug #101432
closedf:link.page "target" attribute not respected
Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2023-07-24
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
If I specify the "target"-attribute on a <f:link.page>
node it will be overwritten with _self
.
<f:link.page pageUid="{settings.pages.homePageUID}"
additionalAttributes="{'data-target':'home'}"
target="home">…</f:link.page>
It looks like my attributes are overwritten by the attributes coming from the LinkFactory (https://git.typo3.org/typo3/typo3/-/blob/main/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php#L186-L187).
Files
Actions