[TYPO3-english] TCAdefaults value from DB field

d.ros projects at r-system.de
Thu Aug 22 10:14:00 CEST 2013


Morning,

I had a look at TSconfigReference [1] but I don´t see how to get a value 
from a DB field. Which is IMHO a quite common task.

You can easily set something like this:

TCAdefaults {
         tx_news_domain_model_news {
                 author =  FooBar
                 author_email = bar at foo.de
         }
}

But something like this would make a lot of sense.

TCAdefaults {
         tx_news_domain_model_news {
                 author.data.field =  be_users = username
                 author_email.data.field =  be_users = email
         }
}

Is this possible ? If yes, how ?

[1]
http://docs.typo3.org/typo3cms/TSconfigReference/UserTsconfig/Field/Index.html#overwriting-and-modifying-values


Cheers David


More information about the TYPO3-english mailing list