[TYPO3-templavoila] $curVal and drawDataStructureMap_editItem_editTypeExtra()

Christian Welzel gawain at camlann.de
Fri Oct 1 23:47:34 CEST 2010

Hi there,

i'm doing some stuff on dam_tv_connector and wanted to fix some issues
with the radio-buttons in the typoscript-tab in the mapping module.
i do some extra form fiels using the etypesextraformfields hook and
noticed, that i can not get my current extra-values...
i can set them without problems during saving the form, and they are
also correctly in the xml:

<eType_EXTRA type="array">
	<slide type="array">
		<numIndex index="0">2</numIndex>

but during rendering the form again, the $curVal variable in the
eTypesExtraFormFields-hook is empty.
i noticed that in class.tx_templavoila_cm1_dsedit.php lines 194ff

if (isset($insertDataArray['tx_templavoila'['TypoScriptObjPath'])){
   $curValue = array('objPath' =>
} else {
   $curValue = '';

Why is the value set to empty and not to the value of eType_EXTRA
-array? Can someone please fix this?

 MfG, Christian Welzel

  GPG-Key:     http://www.camlann.de/de/pgpkey.html
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15

More information about the TYPO3-project-templavoila mailing list