Bug #15753
closedOverwriting csh-labels in XClass doesn't work
0%
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)
Updated by Alexander Opitz over 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)?
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.
Updated by André Wuttig almost 10 years ago
Indeed. This issue exists in 6.2 !!! Please reopen.