[Typo3] Dev Extension: Db Question for add value inside my extension table

Bernhard Kraft kraftb at kraftb.at
Sat Oct 22 20:38:53 CEST 2005


Richard Paquet wrote:
> HI,
> 
> I have an extension for cd record
> 
> My Question is:
> When I create an record in BE, I want to put automaticly a value inside a field for the extension table
> 
> My table is wmf
> field is code
> and I want to put $this->cObj->data['select_key'] inside field code when the be user create a cd record


You can set a field by default by putting the following in Page TSConfig (Edit PAge header):

TCEFORMS.[tablename].[field] = value

Don't know what you want to do exactly.

greets,
Bernhard



More information about the TYPO3-english mailing list