0byt3m1n1
Path:
/
data
/
applications
/
aps
/
typo3
/
4.5.5-0
/
standard
/
scripts
/
[
Home
]
File: extTables.php.in
<?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'; ?>