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'] = 'a...@example.com';

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

Viele Grüße,
Reinhard
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an