[Typo3-UG Oesterreich] Probleme mit Extension

Manfred Wiesinger typo3 at menphrad.net
Thu May 13 14:53:42 CEST 2004


Hi Michael
 

> Ich habe aber irgendwie das Gefühl das die Main funktion 
> nicht angesprochen wird.
> Normalerweise sollte da ja ein Formular stehen wenn ich den 
> code richtig lese, oder?
> Kann mir dazu jemand einen Tipp geben?

Meinst Du, Du kannst das Formular, welches standardmäßig in der Extension
steht, nicht sehen, oder Dein eigenes Formular?
In der Variable $content ist ein Dummy-Content definiert:

> 		$content='
> 			<strong>This is a few paragraphs:</strong><BR>
> 			<p>This is line 1</p>
> 			<p>This is line 2</p>
> 
> 			<h3>This is a form:</h3>
> 			<form 
> action="'.$this->pi_getPageLink($GLOBALS["TSFE"]->id).'" 
> method="POST">
> 				<input type="hidden" 
> name="no_cache" value="1">
> 				<input type="text" 
> name="'.$this->prefixId.'[input_field]" 
> value="'.htmlspecialchars($this->piVars["input_field"]).'">
> 				<input type="submit" 
> name="'.$this->prefixId.'[submit_button]" 
> value="'.htmlspecialchars($this->pi_getLL("submit_button_label")).'">
> 			</form>
> 			<BR>
> 			<p>You can click here to 
> '.$this->pi_linkToPage("get to this page 
> again",$GLOBALS["TSFE"]->id).'</p>
> 		';

Den musst Du an Deine Extension anpassen ...


Liebe Grüße,

Manfred






More information about the TYPO3-at mailing list