[Typo3] Where to change $TCA?

Bernhard Kraft kraftb at kraftb.at
Thu May 5 12:18:44 CEST 2005


Fabian Schulz wrote:
> Hello!
> 
> I finally found the right place where I can disable the 'Translate 
> to'-Text. It's in TCA:
> 
> $TCA['tt_content']['columns']['header']['l10n_mode'] = 'prefixLangTitle';
> 
> But I don't get the idea where to set that value to something 
> different... UserTSConfig, PageTSConfig, ... ?

You will have to creat an extension containing nothing than the gernal information
and create a
ext_tables.php file
containing the following:
<?php
if (!defined ("TYPO3_MODE"))  die ("Access denied.");

t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['columns']['header']['l10n_mode'] = 'prefixLangTitle';

?>

and then save the file. load your extensions and clear the typo3conf cache.
(upper clear cache button)

after this your change should be noticeable.


greets,
Bernhard



More information about the TYPO3-english mailing list