All pastes #183108 Raw Edit

steffenK

public text v1 · immutable
#183108 ·published 2006-09-26 16:30 UTC
rendered paste body
$TCA["tx_ltgtreecache_cache"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:ltg_treecache/locallang_db.xml:tx_ltgtreecache_cache',		
		'label' => 'uid',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_ltgtreecache_cache.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "ptype, page_uid, page_pid, children_uids, ave_rating, num_ratings, properties, shortcut, page_hidden, page_nav_hide, url",
	)
);

$tempColumns = Array (
	"tx_ltgtreecache_cache_tstamp" => Array (		
		"exclude" => 1,		
		"label" => "LLL:EXT:ltg_treecache/locallang_db.xml:pages.tx_ltgtreecache_cache_tstamp",		
		"config" => Array (
            "type" => "input",
            "size" => "12",
            "max" => "20",
            "eval" => "datetime",
            "checkbox" => "0",
            "default" => "0"
		)
	),
);


t3lib_div::loadTCA("pages");
t3lib_extMgm::addTCAcolumns("pages",$tempColumns,1);
t3lib_extMgm::addToAllTCAtypes("pages","tx_ltgtreecache_cache_tstamp;;;;1-1-1");