Project

General

Profile

Actions

Feature #101866

open

Link to page/record in default language not possible

Added by Bernhard Eckl 11 months ago. Updated 10 months ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2023-09-07
Due date:
% Done:

0%

Estimated time:
PHP Version:
8.2
Tags:
Complexity:
Sprint Focus:

Description

Hello,

here is my scenario:

On a page with language id 1 (english, not default) I want to link to a news record. The news record is not translated, so the link is not generated at all. But I want to force it to link the news to the default language. Adding &L=0 does not work because the parameter is removed when clicking on save. I tried language handling strict and fallback mode. The only working way is to link the news via external URL.

Tested with TYPO3 11.5.30

Actions #1

Updated by André Buchmann 10 months ago

Hey have you tested the free mode in the language handling (site config)?

IMHO it's expected not to show the link in strict mode, because it adds `AND sys_language_uid in (0,-1)` to almost all queries.
Not sure about the fallback mode...

Actions #2

Updated by Stefan Bürk 10 months ago

  • Status changed from New to Needs Feedback

@Bernhard Eckl Can you please give some more context for your issue ?

  • In which context / way are you trying to build that link ? TypoScript, Fluid(ViewHelpers), Controller, etc
  • What is the "exaxt" code you are using at that place ?
Actions #3

Updated by Bernhard Eckl 10 months ago

Link is built in RTE…

It seems to work in free mode, thank you!

I read the documentation about the language modes, but except that behaviour in this issue I can’t find other differences of strict and free mode (maybe the documentation could be a little more extensive). Is there another different behaviour? If not I would just switch to free mode.

Actions

Also available in: Atom PDF