TYPO3 CMS
TYPO3_6-2
|
Go to the source code of this file.
Variables | |
$GLOBALS ['TCA']['pages']['ctrl']['hideAtCopy'] = FALSE | |
$GLOBALS ['TCA']['tt_content']['ctrl']['hideAtCopy'] = FALSE | |
$GLOBALS ['TCA']['sys_category']['ctrl']['prependAtCopy'] = 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy' | |
$GLOBALS ['TCA']['sys_category']['columns']['title']['l10n_mode'] = 'prefixLangTitle' | |
$GLOBALS[ 'TCA'][ 'pages'][ 'ctrl'][ 'hideAtCopy'] = FALSE |
Overriding $TCA
The TYPO3 Configuration Array (TCA) is defined by the distributed tables.php and ext_tables.php files. If you want to extend and/or modify its content, you can do so with scripts like this. Or BETTER yet - with extensions like those found in the typo3conf/ext/ or typo3/ext/ folder. Extensions are movable to other TYPO3 installations and provides a much better division between things! Use them!
Information on how to set up tables is found in the document "Inside TYPO3" available as a PDF from where you downloaded TYPO3.
Usage: Just put this file to the location typo3conf/extTables.php and add this line to your typo3conf/localconf.php: $typo_db_extTableDef_script = 'extTables.php';
Definition at line 18 of file extTables.php.
$GLOBALS[ 'TCA'][ 'tt_content'][ 'ctrl'][ 'hideAtCopy'] = FALSE |
Definition at line 20 of file extTables.php.
$GLOBALS[ 'TCA'][ 'sys_category'][ 'ctrl'][ 'prependAtCopy'] = 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy' |
Definition at line 22 of file extTables.php.
$GLOBALS[ 'TCA'][ 'sys_category'][ 'columns'][ 'title'][ 'l10n_mode'] = 'prefixLangTitle' |
Definition at line 24 of file extTables.php.