[TYPO3-english] Using dynamic values with getText (DB)

Bernhard Kraft kraftb at kraftb.at
Wed Oct 28 14:18:35 CET 2009


Bernard Munslow schrieb:

> I'm trying to figure out how to set the 'UID' of DB (getText) dynamically:
> 
>        my_cObj = TEXT
>        my_cObj.value = {DB:tx_foreign_table:UID:fieldname}
>      my_cObj.insertData = 1  
> What I'd like to do is the following:

I did not try it. But I guess the following should work:

my_cObj = TEXT
my_cObj {
	stdWrap = 1
	stdWrap.dataWrap = DB:tx_foreign_table:{field:your_fe_user_field}:fieldname
	wrap = {|}
	insertData = 1
}



greets,
Bernhard


More information about the TYPO3-english mailing list