#90138Language and mode (free or connected) should be handled in the links module when creating an anchor to content
Description
Hello,
In a page translated with the free mode (so the translated contents are not related to original contents), when I’m in the translated language, I want to create a link to a translated content via the link module, but I only get the original content list in a page.
I think that it should list the translated contents only when the page is in free mode, but the original contents when the page is in connected mode.
Here is a workaround for those who have the same problem :
I used the linkHandler functionality with
this tsconfig:
TCEMAIN.linkHandler.anchors {
handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
label = Anchors
configuration {
table = tt_content
}
scanBefore = page
}
and this typoscript :
config.recordLinks.anchors {
// Do not force link generation when the record is hidden
forceLink = 0
typolink {
parameter = current
parameter.dataWrap = |#{field:uid}
}
}
It does the job for the moment without coding anything, but I would prefer that the native tab listing contents handle the languages context.
Cheers,
Rachel
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.