[TYPO3-dev] Extending info module by modifying TCA fields

Tapio Markula tapio.markula at dnainternet.net
Tue Mar 28 09:24:23 CEST 2006


Hi

I asked once how to extend the info module but I didn't get the answer,
what I needed. Extending using a new select-menu was *not* what I needed.

By accident I found this

// Add columns to info-display list.
	$TCA['pages']['interface']['showRecordFieldList'].=',alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout';

Is this explained somewhere? This is quite handy way to tailor the Info 
module. Is there some other ways to edit the Info module - other lists 
by using this method?
If I want to redefine this list in some extension, how to completely do 
that.
The notation .= adds items and continue adding would cause double 
quantity of items.
I would like to put in this order:

$TCA['pages']['interface']['showRecordFieldList'].=',alias,category,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout';
I would setup that for an extension.

BTW. How define *required* fields - my boss wanted to set 'newUntil' as
required field.




More information about the TYPO3-dev mailing list