Project

General

Profile

Actions

Bug #15753

closed

Overwriting csh-labels in XClass doesn't work

Added by old_root old_root over 18 years ago. Updated almost 10 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

Also available in: Atom PDF