Documentation TYPO3 par Ameos |
00001 <?php 00002 if (!defined ('TYPO3_MODE')) die ('Access denied.'); 00003 00004 $TCA['tt_address'] = Array ( 00005 'ctrl' => Array ( 00006 'label' => 'name', 00007 'label_alt' => 'email', 00008 'default_sortby' => 'ORDER BY name', 00009 'tstamp' => 'tstamp', 00010 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy', 00011 'delete' => 'deleted', 00012 'title' => 'LLL:EXT:tt_address/locallang_tca.php:tt_address', 00013 'enablecolumns' => Array ( 00014 'disabled' => 'hidden' 00015 ), 00016 'thumbnail' => 'image', 00017 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif', 00018 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php' 00019 ), 00020 'feInterface' => Array ( 00021 'fe_admin_fieldList' => 'pid,hidden,name,title,address,phone,fax,mobile,www,email,city,zip,company,country,description' 00022 ) 00023 ); 00024 t3lib_extMgm::addPlugin(Array('LLL:EXT:tt_address/locallang_tca.php:pi_tt_address', '0')); 00025 t3lib_extMgm::allowTableOnStandardPages('tt_address'); 00026 t3lib_extMgm::addToInsertRecords('tt_address'); 00027 00028 t3lib_extMgm::addLLrefForTCAdescr('tt_address','EXT:tt_address/locallang_csh_ttaddr.php'); 00029 ?>