[TYPO3-german] Extensionprogrammierung und externe Formulare einbinden

Bernd Wilke xoonsji02 at sneakemail.com
Mon Sep 4 22:47:34 CEST 2006


On 04 Sep 2006 10:39:39 UT, marko.hoffmann at yes-globushaus.de wrote
with subject "[TYPO3-german] Extensionprogrammierung und externe Formulare
einbinden":

> Hallo Leute,
> 
> da ich absoluter Neuling bin was Extensionprogrammierung angeht habe ich mal eine Frage an Euch.
> Ich möchte in den Content-Bereich in der Funktion main() eine externe PHP-Datei includen.
> 
> Diese enthält eine Formular was wenn if(!isset($submit)) angezeigt werden soll.
> Nun zeigt wird mir das Formular garnicht angezeigt.
> 
> Hier mal ein Auszug aus meiner Extension:
> 
> include_once('typo3conf/ext/my_ext/tmpl/searchForm.php');
> ..
> 
> function main($content,$conf) {
>     $this->conf=$conf;
>     $this->pi_setPiVarDefaults();
>     $this->pi_loadLL();
>     ...
> 
>     $content .= $searchForm;


	return $content;

> }
> 
> Die searchForm.php sieht wie folgt aus:
> 
> $searchForm = '
>   <table align ...
> ';
> 
> Muss ich hier etwas besonderes beachten?
> 
> Grüße Marko

-- 
----------------
Bernd Wilke     
Annweilerstr.20 
40229 Düsseldorf
0211/229 2800



More information about the TYPO3-german mailing list