Index: mod1/class.tx_templavoila_mod1_wizards.php =================================================================== --- mod1/class.tx_templavoila_mod1_wizards.php (revision 24721) +++ mod1/class.tx_templavoila_mod1_wizards.php (working copy) @@ -385,7 +385,16 @@ $tce = t3lib_div::makeInstance('t3lib_TCEmain'); // set default TCA values specific for the user - $TCAdefaultOverride = $GLOBALS['BE_USER']->getTSConfigProp('TCAdefaults'); + $TCAdefaultOverride = array(); + $PageTSConfig = t3lib_BEfunc::getPagesTSconfig( $positionPid ); + if( array_key_exists('TCAdefaults.', $PageTSConfig) && is_array( $PageTSConfig['TCAdefaults.'] ) ) { + $TCAdefaultOverride = t3lib_div::array_merge_recursive_overrule( $PageTSConfig['TCAdefaults.'], $TCAdefaultOverride ); + } + $UserTSConfig = $GLOBALS['BE_USER']->getTSConfigProp('TCAdefaults'); + if( is_array($UserTSConfig) ) { + $TCAdefaultOverride = t3lib_div::array_merge_recursive_overrule( $UserTSConfig, $TCAdefaultOverride ); + } + if (is_array($TCAdefaultOverride)) { $tce->setDefaultsFromUserTS($TCAdefaultOverride); }