I would like to set a category by default to all new tx_news records. I know the solution is located in user TSConfig. But I don't know how to work with that using a kind of condition. I guess it has to be something like
TCAdefaults.table.column = value
But I have to manipulate a table which is storing a relation between categories an news records. I don't have an idea how to do that:
TCAdefaults.sys_category_record_mm.uid_foreign = 3 (-> where field tablename is "tx_news_domain_model_news" or something like that)
Thanks and thanks for reading my bad english :-)