[ Index ] |
|
Code source de Typo3 4.1.3 |
1 <?php 2 /** 3 * Overriding $TCA 4 * 5 * The TYPO3 Configuration Array (TCA) is defined by the distributed tables.php and ext_tables.php files. 6 * If you want to extend and/or modify its content, you can do so with scripts like this. 7 * Or BETTER yet - with extensions like those found in the typo3conf/ext/ or typo3/ext/ folder. 8 * Extensions are movable to other TYPO3 installations and provides a much better division between things! Use them! 9 * 10 * Information on how to set up tables is found in the document "Inside TYPO3" available as a PDF from where you downloaded TYPO3. 11 * 12 * Usage: 13 * Just put this file to the location typo3conf/extTables.php and add this line to your typo3conf/localconf.php: 14 * $typo_db_extTableDef_script = 'extTables.php'; 15 */ 16 17 // Rotate loginbox images from this directory 18 # $GLOBALS['TBE_STYLES']['loginBoxImage_rotationFolder'] = '../fileadmin/loginimg/'; 19 20 // Raise upload limit for images in 'image' content-elements to 10*1024 bytes = 1MB 21 # $GLOBALS['TCA']['tt_content']['columns']['image']['config']['max_size'] = 10*1024; 22 23 // Changes date fields to datetime fields in pages and tt_content 24 # $GLOBALS['TCA']['tt_content']['columns']['starttime']['config']['eval'] = 'datetime'; 25 # $GLOBALS['TCA']['tt_content']['columns']['endtime']['config']['eval'] = 'datetime'; 26 # $GLOBALS['TCA']['pages']['columns']['starttime']['config']['eval'] = 'datetime'; 27 # $GLOBALS['TCA']['pages']['columns']['endtime']['config']['eval'] = 'datetime'; 28 29 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Nov 25 17:13:16 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |