Index: cm1/class.tx_templavoila_cm1_dsedit.php =================================================================== --- cm1/class.tx_templavoila_cm1_dsedit.php (revision 28056) +++ cm1/class.tx_templavoila_cm1_dsedit.php (working copy) @@ -191,7 +191,7 @@ */ if (($extra = $this->drawDataStructureMap_editItem_editTypeExtra( $insertDataArray['tx_templavoila']['eType'], - $formFieldName.'[tx_templavoila][eType_EXTRA]', + $formFieldName, ($insertDataArray['tx_templavoila']['eType_EXTRA'] ? // Use eType_EXTRA only if it is set (could be modified, etc), otherwise use TypoScriptObjPath! $insertDataArray['tx_templavoila']['eType_EXTRA'] : ($insertDataArray['tx_templavoila']['TypoScriptObjPath'] ? @@ -401,18 +401,23 @@ if (isset ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['cm1']['eTypesExtraFormFields'][$type])) { $_params = array ( 'type' => $type, - 'formFieldName' => $formFieldName, + 'formFieldName' => $formFieldName . '[tx_templavoila][eType_EXTRA]', 'curValue' => $curValue, ); $output = t3lib_div::callUserFunction($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['cm1']['eTypesExtraFormFields'][$type], $_params, $this); } else { switch($type) { case 'TypoScriptObject': + $value = $curValue['objPath'] ? $curValue['objPath'] : 'lib.myObject'; $output = '
' . $GLOBALS['LANG']->getLL('mapObjectPath') . ': | -+ | + + + + |