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

JoH asenau info at cybercraft.de
Wed Oct 28 14:34:55 CET 2009


> 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
> }

You can get rid of the recursive stdWrap call if you use wrap3 instead:

my_cObj = TEXT
my_cObj {
    dataWrap = DB:tx_foreign_table:{field:your_fe_user_field}:fieldname
    wrap3 = {|}
    insertData = 1
}

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-english mailing list