[TYPO3-templavoila] Announcing TemplaVoila 1.4.2
Christian Welzel
gawain at camlann.de
Thu Apr 8 01:04:18 CEST 2010
Am 08.04.2010 00:25, schrieb Steffen Kamper:
> Hi Christian,
>
> Christian Welzel schrieb:
>> Am 15.03.2010 00:07, schrieb Tolleiv.Nietsch:
>>
>>> * new hooks for eTypes (elements added by mapping interface)
>>
>> today i tried to port tv_dam_connector to this new interface
>> and got a problem: i have a "wizard" for setting slide mode and
>> random mode by selectboxes. This is done by some code in
>> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['cm1']['eTypesExtraFormFields']
>>
>> and works as far as the form is involved.
>>
>> But changes in this wizard do not update the generated Typoscript
>> because i cannot force an update and tv only updates if i change
>> the etype to something different and then back to dam-etypes.
>> Is this a bug or a feature? How can i force tv to update this field?
>> Or is there another way to integrate my wizard?
>>
>
> first sry, i wanted to show you how to use, but ran out of time atm.
No problem :)
But my problem isn't the creation of the types in the dropdown, but
the substEtypeWithRealStuff() function.
There is this code:
--------
$bef = $elArray[$key]['tx_templavoila']['TypoScript'];
t3lib_div::callUserFunction($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['cm1']['eTypesConfGen'][$elArray[$key]['tx_templavoila']['eType']],
$_params, $this,'');
if (!$reset && trim($bef))
$elArray[$key]['tx_templavoila']['TypoScript'] = $bef;
---------
This code reverts all my changes to the typoscript... this means, i can
change the settings in my wizard, but they are never promoted to the ts,
because of this code... and i cannot force tv to update the ts, because
i cannot set "$reset" from inside of my function.
--
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