[TYPO3-german] t3 erweiterung problem bei der anleitung form_extension_tut
Christian Hensel
chensel at visiopro.de
Sat Oct 7 14:41:41 CEST 2006
vielen Dank das war es..
gruß
Christian
"Chi Hoang" <chibox at gmail.com> schrieb im Newsbeitrag
news:mailman.1.1160178705.15641.typo3-german at lists.netfielders.de...
> Christian Hensel schrieb:
>> if(isset'.$this->piVars{submit_button']){
>> t3lib_div::debug($this->piVars);
>> }
>
> Es muß heissen:
>
> if(isset($this->piVars['submit_button'])){
> t3lib_div::debug($this->piVars);
> }
>
> Komplettes Skript:
>
> function main($content,$conf) {
>
> $this->conf=$conf;
> $this->pi_setPiVarDefaults();
> $this->pi_loadLL();
>
> // WHAT TO DO if content is submitted
> if(isset($this->piVars['submit_button'])){
> t3lib_div::debug($this->piVars);
> }
>
> $content='
> <h3>This is a form:</h3>
> <form action="'.$this->pi_getPageLink($GLOBALS['TSFE']->id).'"
> method="POST">
>
> ...
> ...
>
> }
>
> Du hast in 5 Zeilen Code 3 Fehler. Das ist ziemlich viel. Ich würde Dir
> vorschlagen jetzt ins Bett zu gehen. Oder den Beruf zu wechseln. :p
More information about the TYPO3-german
mailing list