[TYPO3-german] formhandler von eigener Extension (Plugin) aufrufen

Reinhard Führicht rf at typoheads.at
Wed Sep 8 17:55:16 CEST 2010


Am 2010-09-08 17:47, schrieb Rainer Schleevoigt:
>
>>
>> Hallo,
>>
>> ich mach es so in der Art:
>>
>> im TS:
>>
>> plugin.tx_myext_pi1 {
>> formhandler < plugin.Tx_Formhandler
>> }
>>
> sieht charmant aus. heißt das, daß ich alle Configs innerhalb von PHP
> mache?
>> im PHP:
>>
>> $conf['formhandler.']['settings.']['finishers.']['1.']['config.']['admin.']['to_email']
>> = 'asdf at example.com';
>>
>> $form = $this->cObj->cObjGetSingle($conf['formhandler'],
>> $conf['formhandler.]);
> Gruß Rainer

Hallo,

du kannst z.B. im TS ein Formular konfigurieren:

plugin.Tx_Formhandler.settings.predef.abc {
  ...
}

und danach an deine EXT übergeben.

plugin.tx_mayext_pi1.formhandler < plugin.Tx_Formhandler.settings.predef.abc

Im PHP kannst du dann die Konfig nach Belieben abändern und mit 
cObjGetSingle das Formular rendern.

Viele Grüße,
Reinhard


More information about the TYPO3-german mailing list