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

Reinhard Führicht rf at typoheads.at
Wed Sep 8 16:54:35 CEST 2010


Am 2010-09-08 12:53, schrieb Rainer Schleevoigt:
> Hallo,
>
> in einem iPhone-Extension soll der formhandler rein. Da schreibe ich:
>
> require_once
> (t3lib_extMgm::extPath("formhandler")."pi1/class.tx_formhandler_pi1.php");
> $tx_formhandler_pi1 =& new tx_formhandler_pi1 ();
> $tx_formhandler_pi1->main(&$this->content, &configuration_stuff);
>
> Wie binde ich den nötigen TS-Code ein, der dann Template usw. festlegt?
>
>
> Gruß Rainer
>

Hallo,

ich mach es so in der Art:

im TS:

plugin.tx_myext_pi1 {
   formhandler < plugin.Tx_Formhandler
}

im PHP:

$conf['formhandler.']['settings.']['finishers.']['1.']['config.']['admin.']['to_email'] 
= 'asdf at example.com';

$form = $this->cObj->cObjGetSingle($conf['formhandler'], 
$conf['formhandler.]);

Viele Grüße,
Reinhard


More information about the TYPO3-german mailing list