Project

General

Profile

Actions

Bug #15753

closed

Overwriting csh-labels in XClass doesn't work

Added by old_root old_root about 18 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2006-03-02
Due date:
% Done:

0%

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

Description

im writing a XCLASS-Extension and need some different description (locallang_csh.php). Therefore I use an other locallang_csh.php file and include it with:

t3lib_extMgm::addLLrefForTCAdescr('tx_aseventdb_events','EXT:ks_eventdb/locallang_csh.php');

But the help-window still displays the old Text...

investigating further I found that the TCA_DESCR-Array contains an Element

[refs] => Array
(
[0] => EXT:as_eventdb/locallang_csh.php
[1] => EXT:ks_eventdb/locallang_csh.php
)

but only the first file is loaded by lang.php when the method $LANG->loadSingleTableDescription($table); is called.

I fixed this issue by xclassing language::loadSingleTableDescription($table), where I replaced "$LOCAL_LANG = $this->includeLLFile($llfile,0,1);" with "$this->includeLLFile($llfile,1,1);" in line 352.

(issue imported from #M2746)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #64575: Add custom csh doesnt work via addLLrefForTCAdescrClosed2015-01-29

Actions
Actions #1

Updated by Alexander Opitz almost 11 years ago

  • Target version deleted (0)
  • TYPO3 Version changed from 3.8.1 to 3.8
  • PHP Version deleted (4)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions #4

Updated by André Wuttig about 9 years ago

Indeed. This issue exists in 6.2 !!! Please reopen.

Actions

Also available in: Atom PDF