[Typo3-dev] TCAdefaults

Bernhard Kraft kraftb at mokka.at
Wed Jan 19 13:31:33 CET 2005


Bernhard Kraft wrote:

> Maybe someone could point me to the right direction how I can create a 
> record while
> respecting TCAdefault values from User/Group/Page TSConfig

I already found a solution ... I use the overrideValues of TCE
$tce->overrideValues['tx_oevpkalender_eintrag']['buero'] = $buero;

This is not clean ... nor is it a solution to resepect TCAdefault values
by default.


It would be interesting how to create BE modules which make use of TCEmain
but when records get inserted that TCAdefault values from TSConfigs get
respected ...
(I tried to call the function ->setDefaultsFromUserTS($userTS) before
process_datamap ... but it seems to take TSConfig from pages only)



greets,
Bernhard
-- 
Bernhard Kraft
MOKKA MEDIENAGENTUR GMBH / www.mokka.at
T: +43 1 895 33 33 50




More information about the TYPO3-dev mailing list