Einzelnen Beitrag anzeigen
  #5  
Alt 18.05.06, 17:19
Benutzerbild von papman
papman papman ist offline
Forum Stammgast
 
Registriert seit: 14.11.05
Ort: Berlin
Beiträge: 131

Im Verzeichnis /rooteinerinstallation/typo3conf/ sollte es sowas wie localconf.php und extTables.php geben.
PHP-Code:
<?php
/**
 * 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';
 */

// Rotate loginbox images from this directory
# $GLOBALS['TBE_STYLES']['loginBoxImage_rotationFolder'] = '../fileadmin/loginimg/';

// Raise upload limit for images in 'image' content-elements to 10*1024 bytes = 1MB
# $GLOBALS['TCA']['tt_content']['columns']['image']['config']['max_size'] = 10*1024;

// Changes date fields to datetime fields in pages and tt_content
# $GLOBALS['TCA']['tt_content']['columns']['starttime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['tt_content']['columns']['endtime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['pages']['columns']['starttime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['pages']['columns']['endtime']['config']['eval'] = 'datetime';

?>
Nochmal das wichtigste aus dem Inhalt:

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';
__________________
never run a changing system
__________________________________________
Apache 1.3.33 PHP 4.3.10-16 MySQL 4.0.24 debian 3.1 Typo 4.0
Mit Zitat antworten