[Typo3-dev] formatting fields in selectorbox

Dominic Brander typo3_db at snowflake.ch
Mon Apr 5 12:20:11 CEST 2004


hi peter
thanks! unfortunately it only works for the records to select (right 
side of the selection). the selected records (left side) are not 
affected. do you have another hint for this? I can't find any entry in 
the tca for this field.

many thanks!

dominic



Peter Niederlag wrote:

> Hi Dominic,
> 
> Dominic Brander schrieb am  5.04.2004 um 10:55 Uhr CEST
> 
> 
>>hi
>>when I have a database relation in the BE where I select the records 
>>from "global storage page" I would like to preprocess the data which
>>is inserted. maybe an example helps to show you my problem:
>>I would like to insert dates (from another table) into my record.
>>since the date is formatted as an integer I do not see a real date but
>>only a number.
>>
>>any hints?
> 
> 
> sure you can use a user_func in $TCA... '['config']['itemsProcFunc'] to
> populate a select-box. Have a look at the "core_api" documentation
> somewhere on this page for help on $TCA:
> http://130.228.0.33/t3dl/src/
> 
> the page-template-selector might serve as a nice example to do that,
> browse it's $TCA for example. There should be some help
> available regarding this in modern-tut part III as well.
> 
> Cheers,
> PeterN

-- 
dominic
________________________________________________________________________
dominic brander - snowflake productions gmbh
http://www.snowflake.ch






More information about the TYPO3-dev mailing list