Project

General

Profile

Actions

Bug #16412

closed

Links to localized elements do not function

Added by Dmitry Dulepov over 18 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2006-07-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If page should contain a link to localaized record from tt_content, this link in fact will always point to non-localized (non-overlayed) version. Problem is in definition of tt_content.stdWrap.dataWrap. Now it contains:

dataWrap = <a id="c{field:uid}"></a> |

but should be:
dataWrap = <a id="c{field:_LOCALIZED_UID // field:uid}"></a> |

(issue imported from #M3952)


Files

css_styled_content_localization.txt (488 Bytes) css_styled_content_localization.txt Administrator Admin, 2006-07-30 13:32
Actions #1

Updated by Dmitry Dulepov almost 18 years ago

Latest version (from e-mail):

-----------------------------------
Bernhard Kraft wrote:

innerWrap2 = | <p class="csc-linkToTop"><a href="#">{LLL:EXT:css_styled_content/pi1/locallang.php:label.toTop}</a></p>
innerWrap2.insertData = 1
innerWrap2.fieldRequired = linkToTop

  1. like before:
    dataWrap = <a id="c{field:uid}"></a> |
  1. new code:
    prepend = TEXT
    prepend.dataWrap = <a id="c{field:_LOCALIZED_UID}"></a>
    prepend.if.isTrue.field = _LOCALIZED_UID

The new code will "prepend" the cObject which is defined. "prepend" happens in stdWrap directly after dataWrap
so the localized-uid anchor will be before the original one.

Or mine (after dataWrap):

+ preCObject = TEXT
+ preCObject {
+ setContentToCurrent = 1
+ field = _LOCALIZED_UID
+ required = 1
+ }
-----------------------------------

Actions #2

Updated by Dmitry Dulepov over 16 years ago

Core team did not decide what to do. Deassigning from myself.

Actions #3

Updated by Darko Jr. Gonzalez about 15 years ago

TYPO3 4.2.8 and
sys_language_mode = content_fallback
sys_language_overlay = 1 or sys_language_overlay = hideNonTranslated

Folks, Is this related to
tt_content.stdWrap.dataWrap >
not working for localized pages?

Because it doesnt work on my end when I try to erase tt_content.stdWrap.dataWrap = <a id="c{field:uid}"></a> |

It works for the primary language, L=0, the default one, but not for the localized.

Actions #4

Updated by Susanne Moog about 15 years ago

This bug is solved in newer TYPO3 versions with the stdWrap.prepend as described in the first comment.

Actions #5

Updated by Ernesto Baschny about 15 years ago

This has been commited 19.1.2007 by Dmitry to the core, so it has been in since the release of TYPO3 v4.1 (beta3). See rev. 1905:

http://forge.typo3.org/repositories/diff/typo3v4-core?rev=1905

Actions

Also available in: Atom PDF